Skip to content

Commit ee4c5ac

Browse files
committed
Switched to cospi
1 parent 7d5f504 commit ee4c5ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/+otp/+lorenz96/+presets/PopovSandu.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
q = s.Partitions;
2020
omega = s.ForcingPeriod;
2121

22-
F = @(t) 8 + 4*cos(2*pi*omega*(t + mod((1:N) - 1, q)/q)).';
22+
F = @(t) 8 + 4*cospi(2*omega*(t + mod((1:N) - 1, q)/q)).';
2323

2424
params.forcingFunction = F;
2525

0 commit comments

Comments
 (0)