catalyst
catalyst copied to clipboard
Look into adding support for float32 in callbacks
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.