Skip to content

Commit 3eb99cd

Browse files
committed
added a comment for future idiot me
1 parent 9a8a63c commit 3eb99cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/+otp/+kuramotosivashinsky/KuramotoSivashinskyProblem.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ function onSettingsChanged(obj)
2424

2525
div = L/(2*pi);
2626

27+
% note that k already has "i" in it
2728
k = (1i*[0:(N/2 - 1), 0, (-N/2 + 1):-1].'/div);
2829
k2 = k.^2;
2930
k4 = k.^4;

0 commit comments

Comments
 (0)