Skip to content

Commit

Permalink
Fix incorrect parameter order in LaxFriedrichs scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
tobre1 committed Feb 12, 2025
1 parent 89cbcdf commit 1d76be8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/viennals/lsLaxFriedrichs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ template <class T, int D, int order> class LaxFriedrichs {
}

LaxFriedrichs(SmartPointer<viennals::Domain<T, D>> passedlsDomain,
SmartPointer<viennals::VelocityField<T>> vel,
bool calcNormal = true, double a = 1.0)
SmartPointer<viennals::VelocityField<T>> vel, double a = 1.0,
bool calcNormal = true)
: levelSet(passedlsDomain), velocities(vel),
neighborIterator(hrleSparseStarIterator<hrleDomain<T, D>, order>(
levelSet->getDomain())),
Expand Down

0 comments on commit 1d76be8

Please sign in to comment.