Skip to content

Commit

Permalink
sw: Fix doitgen seed for CI reproducibility
Browse files Browse the repository at this point in the history
  • Loading branch information
colluca committed Sep 27, 2024
1 parent daba521 commit 1269759
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sw/apps/doitgen/scripts/datagen.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def emit_header(self, **kwargs):

self.validate(**kwargs)

A = du.generate_random_array((kwargs['r'], kwargs['q'], kwargs['s']))
x = du.generate_random_array((kwargs['s'], kwargs['s']))
A = du.generate_random_array((kwargs['r'], kwargs['q'], kwargs['s']), seed=42)
x = du.generate_random_array((kwargs['s'], kwargs['s']), seed=42)

_ = self.golden_model(A, x)

Expand Down

0 comments on commit 1269759

Please sign in to comment.