noise icon indicating copy to clipboard operation
noise copied to clipboard

SegFault in pnoise2 when providing large seeds

Open Incognitonomous opened this issue 6 months ago • 0 comments

I'm getting inconsistent segfault crashes when using seeds larger than 15000 (using consistent values for the other parameters). it's my understanding that seeds should be able to take integer values between -2^31 and 2^31 - 1, correct me if i'm wrong.

the following crashes for me consistently

import noise
noise.pnoise2(0.2,0.2,base = 1000000)

Incognitonomous avatar Aug 07 '24 10:08 Incognitonomous