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

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

[Octave-bug-tracker] [bug #52312] Confusing error message for "\" (left


From: Doug Strain
Subject: [Octave-bug-tracker] [bug #52312] Confusing error message for "\" (left division)
Date: Tue, 31 Oct 2017 12:34:02 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0

Follow-up Comment #2, bug #52312 (project octave):

Sorry. 

K and F are 2-D matrices; U (inadvertently) a vector. The K\F worked just
fine; the reported problem wasn't with the "\".

The problem was that I tried to assign a 2D result to a 1D vector. 
  U(i) = K(i,i) \ F(i,:)
should have read 
  U(i,:) = K(i,i) \ F(i,:)

But that was reported as an error with the "\", not with the "=".

Not a biggee, just confusing.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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