Skip to content

Commit 644634e

Browse files
committed
Allow variable length in tps_baseline_mueller.py
1 parent 7b8e404 commit 644634e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tps_baseline_mueller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def interpolate_two_points(start, stop, steps):
5858
dt = 1e-4
5959
T = 275e-4
6060
N = int(T / dt)
61-
initial_trajectory = [t.reshape(1, 2) for t in interpolate(minima_points, N)]
61+
initial_trajectory = [t.reshape(1, 2) for t in interpolate(minima_points, 100 if N == 0 else N)]
6262

6363

6464
@jax.jit

0 commit comments

Comments
 (0)