Skip to content

Commit

Permalink
Default seed cleans up output and speeds up process
Browse files Browse the repository at this point in the history
  • Loading branch information
nyoungbq committed Aug 1, 2024
1 parent 3368e9e commit befb4da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simplnx/Utilities/Math/GeometryMath.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ char IsPointInPolyhedron(const nx::core::TriangleGeom& triangleGeomRef, const st
}

// Standard mersenne_twister_engine random seed
std::mt19937_64 generator(static_cast<std::mt19937_64::result_type>(std::chrono::steady_clock::now().time_since_epoch().count()));
std::mt19937_64 generator(std::mt19937_64::default_seed);
std::uniform_real_distribution<T> distribution(0.0, 1.0);

detail::GeometryStoreCache cache(triangleGeomRef.getVertices()->getDataStoreRef(), triangleGeomRef.getFaces()->getDataStoreRef(), triangleGeomRef.getNumberOfVerticesPerFace());
Expand Down

0 comments on commit befb4da

Please sign in to comment.