octave-maintainers
[Top][All Lists]
Advanced

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

Expecting errors,warnings


From: Dildar Sk
Subject: Expecting errors,warnings
Date: Fri, 23 Mar 2018 00:48:41 -0700 (MST)

When I type,
>> list_primes (-10)
ans = [](0x0)
>> primes(-20)
ans = [](1x0)
>>

Isn't it valid to produce error, warning instead of giving a empty vector in
case of negative numbers input?



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html



reply via email to

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