Skip to content
Snippets Groups Projects
Commit 2e2ad021 authored by Jordi Inglada's avatar Jordi Inglada
Browse files

TEST: set the seed for the rng

parent 29b3a7eb
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@ struct LinearFunctionSampleGenerator
: m_a(a), m_b(b), m_NbInputVars(1), m_NbOutputVars(1) {
m_isl = InputListSampleRegressionType::New();
m_tsl = TargetListSampleRegressionType::New();
std::srand(0);
};
void GenerateSamples(TPrecision sMin, TPrecision sMax, size_t nbSamples)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment