summaryrefslogtreecommitdiff
path: root/src/ocean/ocean_alt.cpp
diff options
context:
space:
mode:
authorjjesswan <jessica_wan@brown.edu>2024-05-09 23:53:08 -0400
committerjjesswan <jessica_wan@brown.edu>2024-05-09 23:53:08 -0400
commit4150f19230962abaf68a8be209c7fa10bc7691e3 (patch)
tree02b5c38f1b54c4e436010972e85cb44ef7641f4d /src/ocean/ocean_alt.cpp
parentf9819ae7f8b11b298c16eb14d929a9c09038a877 (diff)
relative filepaths thanks joelll
Diffstat (limited to 'src/ocean/ocean_alt.cpp')
-rw-r--r--src/ocean/ocean_alt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ocean/ocean_alt.cpp b/src/ocean/ocean_alt.cpp
index 0e44d9c..dcc3e42 100644
--- a/src/ocean/ocean_alt.cpp
+++ b/src/ocean/ocean_alt.cpp
@@ -589,7 +589,7 @@ std::vector<Eigen::Vector2d> ocean_alt::fast_fft
}
// divide by N*N and add the signs based on the indices
- double sign[] = {1.0, -1.0};
+ double sign[] = {-1.0, 1.0};
for (int i = 0; i < N; i++)
{
h[i] /= N;