We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6581596 + c45d24a commit b63946cCopy full SHA for b63946c
1 file changed
src/libInterpolate/Interpolators/_2D/BicubicInterpolator.hpp
@@ -199,11 +199,11 @@ void BicubicInterpolator<Real>::setupInterpolator() {
199
200
fp = (*Z)(i, jp);
201
fm = (*Z)(i, jm);
202
- fy01 = (fp - fm) / dx; // <<<<<<
+ fy01 = (fp - fm) / dy; // <<<<<<
203
204
fp = (*Z)(i + 1, jp);
205
fm = (*Z)(i + 1, jm);
206
- fy11 = (fp - fm) / dx; // <<<<<<
+ fy11 = (fp - fm) / dy; // <<<<<<
207
208
// xy derivatives
209
0 commit comments