Bugs item #3285699, was opened at 2011-04-13 10:00
Message generated for change (Comment added) made by wsfulton
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101645&aid=3285699&group_id=1645
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: octave
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Karl Wette (kwwette)
Assigned to: Xavier Delacour (xavier98)
Summary: Fix bugs in octcomplex.swg
Initial Comment:
This patch (against SWIG 2.0.3) fixes two bugs in Lib/octave/octcomplex.swg:
* replace PyObject with octave_value in the SWIG_AsVal(float) fragment
* modify %swig_fromcplx_conv to use the correct Octave constructor for double (Complex) and float (FloatComplex)
It also removes an unneeded %ifcplusplus, as the Octave module always uses C++ wrappings.
I have checked that %swig_cplxflt_convn now compiles correctly (which it didn't before), and that make check-octave-examples passes.
----------------------------------------------------------------------
>Comment By: William Fulton (wsfulton)
Date: 2011-05-21 21:37
Message:
Applied by Xavier for swig-2.0.4.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101645&aid=3285699&group_id=1645
|