- Correct usage of getRandomEngine - Remove redundant release of Mersenne arrays - Added test for setDefaultRandomEngine
| e->type = rtype; | ||
| } | ||
| } CATCHALL; | ||
| return AF_SUCCESS; |
Copy link
Copy Markdown
Member
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the logic for handling when the requested type is not mersenne twister?
Copy link
Copy Markdown
Author
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The arrays being handled in this section are specific to Mersenne Twister and are not needed otherwise.