mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 09:17:23 +01:00
[ion] Fix tools
Change-Id: I97b3770993adfd1b98b2eee24f9d3005842d8093
This commit is contained in:
@@ -11,7 +11,7 @@ void writeEventsToFile(std::ofstream & file, int numberOfEvents, std::mt19937 &
|
||||
while (i > 0) {
|
||||
int prEventId = distribution(rng);
|
||||
Ion::Events::Event e(prEventId);
|
||||
if (e.isValid() && e != Ion::Events::Termination) {
|
||||
if (e.isDefined() && e != Ion::Events::Termination) {
|
||||
i--;
|
||||
file << (unsigned char)(prEventId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user