Open mehdiataei opened 2 weeks ago
Hello!
import warp as wp x = wp.zeros((100, 3), dtype=wp.float32) print(x.dtype) # Expected: <class 'warp.types.float32'> x = wp.array(x, dtype=wp.vec3) print(x.dtype) # Expected: <class 'warp.types.vec3'>, but you get: <class 'warp.types.float32'>
It may not be a bug inherently, but an error could be raised if the conversion is not possible.
No response
Thanks Mehdi, this seems like a limitation we should address.
Bug Description
Hello!
It may not be a bug inherently, but an error could be raised if the conversion is not possible.
System Information
No response