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

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

[Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #61968] pow2 with two arguments is not Matlab compatible
Date: Tue, 1 Feb 2022 05:05:31 -0500 (EST)

Follow-up Comment #4, bug #61968 (project octave):

I understand your personal motivation for having this as soon as possible. But
I'm not sure if it is a good idea to have this change in behavior for a minor
release either.
Maybe you could use an .oct file implementation for your project in the
meantime?

More on topic: While scrolling through your patch, I noticed this test:

+%!test
+%! f = 1;
+%! e = [1 + 1i, 1];
+%! z = [2, 2];
+%! assert (pow2 (f, e), z);


Haven't tested yet. But how many elements does `e` have after that assignment?
2 or 3?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61968>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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