Skip to content

Commit

Permalink
Default params
Browse files Browse the repository at this point in the history
  • Loading branch information
tobre1 committed Nov 21, 2024
1 parent 76b3dcf commit 476b274
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/viennals/lsCalculateVisibilities.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ template <class NumericType, int D> class CalculateVisibilities {

CalculateVisibilities(
const SmartPointer<Domain<NumericType, D>> &passedLevelSet,
int passedOpenBoundaryDirection, bool passedIsOpenBoundaryNegative)
int passedOpenBoundaryDirection = D - 1,
bool passedIsOpenBoundaryNegative = false)
: levelSet(passedLevelSet),
openBoundaryDirection(passedOpenBoundaryDirection),
isOpenBoundaryNegative(passedIsOpenBoundaryNegative) {}
Expand Down

0 comments on commit 476b274

Please sign in to comment.