imag and real should have type Array (Complex a) -> Array a
noughtmare opened this issue · comments
Jaro commented
Currently, imag
and real
have type AFType a => Array a -> Array a
. But imag
and real
convert complex numbers to real numbers, so the type should be (AFType a, AFType (Complex a)) => Array (Complex a) -> Array a
.
David Johnson commented