Remove test for unsupported complex or _Complex by itself
This commit is contained in:
parent
511df0e642
commit
8245277ad3
2 changed files with 0 additions and 20 deletions
|
|
@ -119,18 +119,6 @@
|
||||||
{
|
{
|
||||||
return conjf(a);
|
return conjf(a);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
complex Conj4(complex a)
|
|
||||||
{
|
|
||||||
return conj(a);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
_Complex Conj5(_Complex a)
|
|
||||||
{
|
|
||||||
return conj(a);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,14 +22,6 @@ if 'Conjf3' in dir(complextest):
|
||||||
if complextest.Conjf3(a) != a.conjugate():
|
if complextest.Conjf3(a) != a.conjugate():
|
||||||
raise RuntimeError, "bad complex mapping"
|
raise RuntimeError, "bad complex mapping"
|
||||||
|
|
||||||
if 'Conj4' in dir(complextest):
|
|
||||||
if complextest.Conj4(a) != a.conjugate():
|
|
||||||
raise RuntimeError, "bad complex mapping"
|
|
||||||
|
|
||||||
if 'Conj5' in dir(complextest):
|
|
||||||
if complextest.Conj5(a) != a.conjugate():
|
|
||||||
raise RuntimeError, "bad complex mapping"
|
|
||||||
|
|
||||||
if 'CopyHalf' in dir(complextest):
|
if 'CopyHalf' in dir(complextest):
|
||||||
|
|
||||||
v = (complex(1, 2), complex(2, 3), complex(4, 3), 1)
|
v = (complex(1, 2), complex(2, 3), complex(4, 3), 1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue