bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] Erroneous multiplication of complex and reals


From: Kacper Gutowski
Subject: [Bug-apl] Erroneous multiplication of complex and reals
Date: Sat, 14 Dec 2013 13:30:07 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hello,
Multiplication of complex cell with a real cell actually yields their
*sum* instead of a product:

      2 × 0J1  ⍝ correct
0J2
      0J1 × 2  ⍝ obviously wrong
2J1

To my surprise it seems to be explicitly written to behave this way
in src/RealCell.cc:78.  Patch attached.

-k

Attachment: gnuapl-multiplycomplex.diff
Description: Text Data


reply via email to

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