catalyst icon indicating copy to clipboard operation
catalyst copied to clipboard

Look into adding support for float32 in callbacks

Open erick-xanadu opened this issue 1 year ago • 1 comments

When using float32 as a result type in callbacks the program crashes. I think this is because at some point we assume float64 will be used but float32 was used. If we can preserve user's intention, then it is best to also use float32. For a small temporary solution, we can provide raise an error or do type promotion implicitly.

erick-xanadu avatar Jun 21 '24 14:06 erick-xanadu