[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62261] Cannot do broadcasting with eig in Oct
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #62261] Cannot do broadcasting with eig in Octave 7? |
Date: |
Thu, 7 Apr 2022 00:59:22 -0400 (EDT) |
Update of bug #62261 (project octave):
Category: None => Interpreter
Item Group: None => Regression
Status: None => Wont Fix
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #2:
This is a consequence of the change to the way ranges are generated. This
code
y = (int8(2):int8(4))' + (int8(5):int8(7))
produces a result which is double in Octave 6.X and of type int8 in Octave
7.1.
The new behavior is correct. If you want to use int8 ranges then wrap them in
a call to double() before calling eig().
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62261>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/