|
From: | Colin Macdonald |
Subject: | Re: bad mod function |
Date: | Tue, 19 Jun 2018 10:19:30 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
On 2018-06-19 10:07 AM, Vic Norton wrote:
Very strange! Now everything works the way it should. There must be gremlins in my computer! And my original code that inspired all this works correctly as well. Apparently I just needed to restart Octave or the computer.
Whenever I glimpse these gremlins its usually because I had a file "modxy.m" whose first line was "function mod(...)". And now there is a new "mod" in Octave's namespace.
And IIRC, it persists even if I fix "function mod(...)" to "function modxy(...)", until I restart Octave---begone gremlins.
Colin
[Prev in Thread] | Current Thread | [Next in Thread] |