HP Forums
Matrix editor bug in Free42? - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: Not HP Calculators (/forum-7.html)
+--- Forum: Not quite HP Calculators - but related (/forum-8.html)
+--- Thread: Matrix editor bug in Free42? (/thread-15920.html)



Matrix editor bug in Free42? - JSBach - 11-19-2020 04:58 PM

Hi,

if I create a matrix in Free42 and edit it in the Matrix editor, I get the edited matrix in X (correct) and a 0 (zero) in Y, which I think is incorrect.
(Free42 2.5.21, Windows.)

Stack before matrix editor:
T: 1
Z: 2
Y: 3
X: [ 2x2 Matrix]

After matrix editor:
T: 2
Z: 3
Y: 0
X: [ 2x2 Matrix]

IMO this should be:
T: 1
Z: 2
Y: 3
X: [ 2x2 Matrix]

Or did I overlook something?

Regards
JSBach


RE: Matrix editor bug in Free42? - Werner - 11-19-2020 05:59 PM

Same behaviour as in the 42S I’m afraid.
The first element you enter will push the 0 to Y, and there it stays till you EXIT the editor.
Cheers, Werner


RE: Matrix editor bug in Free42? - Thomas Okken - 11-19-2020 06:40 PM

Yep. The stack lift behavior in the HP-42S matrix editor is a bit odd. Buggy, even. And Free42 emulates this behavior, in order to avoid introducing incompatibilities that might break programs that depend on the original behavior.

See the release notes, for releases 2.0.18, 2.0.19, and 2.0.20.


RE: Matrix editor bug in Free42? - JSBach - 11-20-2020 08:38 AM

Hello Werner & Thomas,

thank you for the information!

Regards
JSBach