Hi All,
I found a mysterious error when comparing complex types. For instance,
pdl> p approx(i,5*i)
1
pdl> p approx(5*i,i)
0
i.e., i is close to 5i (wrong) but 5i is not close to i (correct).
I found a (provisional?) fix, by simply using parenthesis around
PDL_IF_GENTYPE_REAL(...)
in Primitive.pd, but I guess the macro would have to be checked and I
don't know if it might have produced other errors elsewhere.
Best regards,
Luis
--
o
W. Luis Mochán, | tel:(52)(777)329-1734 /<(*)
Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\
Av. Universidad s/n CP 62210 | (*)/\/ \
Cuernavaca, Morelos, México | [email protected] /\_/\__/
GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB
_______________________________________________
pdl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-devel