Skip to content

Commit

Permalink
Pass random instance to GeneratorOnObject in Generic_random_point_gen…
Browse files Browse the repository at this point in the history
…erator for consistency
  • Loading branch information
chudonghao committed Aug 21, 2024
1 parent ce678a6 commit 286be1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ void Generic_random_point_generator<Id, ObjectFromIdMap, GeneratorOnObject, P>:
);

// generate the points
GeneratorOnObject pointCreator(object_from_id_map(ids[target]));
GeneratorOnObject pointCreator(object_from_id_map(ids[target]), random);
this->d_item = *pointCreator;
}

Expand Down

0 comments on commit 286be1c

Please sign in to comment.