diff --git a/channelflow/diffops.cpp b/channelflow/diffops.cpp index 2d0931e9..4c00bc39 100644 --- a/channelflow/diffops.cpp +++ b/channelflow/diffops.cpp @@ -3313,7 +3313,7 @@ void linearizedNL(const FlowField& u_, const ChebyCoeff& U_, const ChebyCoeff& W W.makeSpectral(trans); ChebyCoeff Uy, Wy; diff(U, Uy); - diff(U, Wy); + diff(W, Wy); U.makePhysical(trans); Uy.makePhysical(trans); W.makePhysical(trans);