-
I'm a bit embarrassed to ask this question, but I couldn't figure it out. I have a Float array y = mi.UInt32(x < 0)
I get this error message: My workaround for now is: y = dr.select(x < 0, 1, 0) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @tomas16 ! Similarly to #576, I don't think there is another solution than using |
Beta Was this translation helpful? Give feedback.
-
Thanks! I asked because I thought there would be a cast operation based on that error message. |
Beta Was this translation helpful? Give feedback.
Hi @tomas16 !
Similarly to #576, I don't think there is another solution than using
dr.select
in Python.