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

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

[Octave-bug-tracker] [bug #47676] Error applying multiplication-assignme


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #47676] Error applying multiplication-assignment operator to variable defined in script
Date: Thu, 14 Apr 2016 15:34:04 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #10, bug #47676 (project octave):

jwe, 

Now that I think about it better, probably I can come up
with an example against the "#include" approach myself.

I tried the example lachlan suggested in comment #6 in both
Octave and Matlab and it fails in both cases, 
but in different ways:

Matlab

>> example_1
Undefined function or variable 'Csb'.

Error in example_1 (line 2)
Csb /2
 
>> version

ans =

9.0.0.341360 (R2016a)


Octave

>> example_1
ans =

   0   0

>> version
ans = 4.1.0+



While they both look bad, Matlab's result is slightly better
because at least the code does not proceed with an unexpected
value assigned to Csb.

Can we at least replicate this behaviour somehow?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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