Skip to content

Commit 6ee979d

Browse files
committed
typo
1 parent d471df9 commit 6ee979d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/regfans/fan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,7 @@ def flip_linear(self,
13191319
if verbosity >= 1:
13201320
print(f"; {circ.Z} is not flippable..." + 20*" ",flush=True)
13211321
status = Exception("Hit non-flippable wall...")
1322-
h_curr = util.lerp(h_curr, h_target, 0.99*first_hit_dist)
1322+
h_tmp = util.lerp(h_curr, h_target, 0.99*first_hit_dist)
13231323

13241324
# check that we can compute a next step
13251325
dists = sc_curr@h_tmp

0 commit comments

Comments
 (0)