theilem / uavSim

BSD 3-Clause "New" or "Revised" License
90 stars 22 forks source link

High is out of bounds for int32 #3

Closed BazilaAfridi closed 2 years ago

BazilaAfridi commented 2 years ago

image

Can anyone help me please to find out why I'm having this error "High is out of bounds for int32"

theilem commented 2 years ago

Try reducing the value in __generate_random_shapes from (2 32 - 1) to (2 31 - 1) or reduce it even further.

BazilaAfridi commented 2 years ago

Yes was able to solve the issue by reducing 32 to 31. Thank you so much sir.