Add missing declaration for std::complex
Fixes missing type information for std::complex in scripting languages. Closes #732. Update Javascript and Octave complextest, although they don't actually get run as they don't work
This commit is contained in:
parent
8834047dcd
commit
e01cfd70c7
11 changed files with 87 additions and 15 deletions
|
|
@ -8,8 +8,16 @@ a_c = complextest.Conj(a);
|
|||
if (a_c.toString() != expected.toString())
|
||||
throw "Error in Conj(a)";
|
||||
|
||||
a_c_f = complextest.Conjf(a);
|
||||
if (a_c_f.toString() != expected.toString())
|
||||
a_c = complextest.Conjf(a);
|
||||
if (a_c.toString() != expected.toString())
|
||||
throw "Error in Conjf(a)";
|
||||
|
||||
a_c = complextest.Conj2(a);
|
||||
if (a_c.toString() != expected.toString())
|
||||
throw "Error in Conj(a)";
|
||||
|
||||
a_c = complextest.Conjf2(a);
|
||||
if (a_c.toString() != expected.toString())
|
||||
throw "Error in Conjf(a)";
|
||||
|
||||
v = new complextest.VectorStdCplx();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue