Skip to content

Commit

Permalink
Apply review suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Lara Herzog <[email protected]>
  • Loading branch information
martijnbastiaan and hydrolarus committed Mar 11, 2024
1 parent 8d61823 commit 3bff45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Protocols/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ instance (C.NFDataX a, C.ShowX a, Show a, C.KnownDomain dom) => Drivable (CSigna
Circuit ( \_ -> ((), fwd1) )

sampleC SimulationConfig{resetCycles, ignoreReset} (Circuit f) =
let sampled = CE.sample_lazy (id (snd (f ((), def)))) in
let sampled = CE.sample_lazy (snd (f ((), def))) in
if ignoreReset then drop resetCycles sampled else sampled


Expand Down

0 comments on commit 3bff45a

Please sign in to comment.