octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #52787] Arithmetic functions cumsum, chop, pri


From: anonymous
Subject: [Octave-bug-tracker] [bug #52787] Arithmetic functions cumsum, chop, primes behave slight differently from document
Date: Tue, 2 Jan 2018 09:28:16 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #1, bug #52787 (project octave):

Ah, maybe the "primes" might be fixed as

--- a/scripts/specfun/primes.m
+++ b/scripts/specfun/primes.m
@@ -94,7 +94,7 @@
   endif
 
   if (! isa (n, "double"))
-    cast (p, class (n));
+    p = cast (p, class (n));
   endif
 
 endfunction


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52787>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]