Closed mousecat98 closed 2 years ago
Hello @mousecat98 I can reproduce the error. Thanks for the issue, I'll try to find a solution for that.
I will have news soon.
I've fix the problem. It was not about like
method but using None
to initialize the template. As workaround you might try replace None
by complex(0)
(or even any complex number).
By the way, this is gonna to be fixed in the next release (0.4.6).
Thank you!
Issue solved in v0.4.6
Hi all, I am facing an issue with fxpmath's
.like()
functionality. In my case, I perform some fixed-point signal processing using numpy'sconvolve()
-method. Using ordinary datatype definitions, the result is a complex number which is correct. However, using ahead datatype definitions and the.like()
-function the resulting number is real-valued.This code results in the following console output:
Thanks for your help!