dhowe / RiTaV1

RiTa: the generative language toolkit
http://rednoise.org/rita
GNU General Public License v3.0
354 stars 78 forks source link

Seeded random in Java #552

Closed kabrio closed 5 years ago

kabrio commented 5 years ago

Hello,

maybe I am using it wrong but when calling RiTa.randomSeed(someSeed); I'd expect randomWord() etc.. to give me the same random words as long as I do not change the seed. However this is not working for me. Am I using it wrong or is this a bug?

Best, J

dhowe commented 5 years ago

This was indeed a valid bug (thanks for the report). It is fixed in the current dev version and will be in the next release, hopefully in the next day or so.

dhowe commented 5 years ago

(fixed in js as well)

kabrio commented 5 years ago

Great, thanks! PS: The first bug I discovered on Github. 🤗

dhowe commented 5 years ago

Nice!