Skip to content

Commit

Permalink
make ctor explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaspers committed Mar 19, 2024
1 parent 93586e0 commit 85448fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ql/experimental/math/laplaceinterpolation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ namespace QuantLib {
// set up the Laplace operator and convert it to matrix

struct LaplaceOp : public FdmLinearOpComposite {
LaplaceOp(const ext::shared_ptr<FdmMesher>& mesher) {
explicit LaplaceOp(const ext::shared_ptr<FdmMesher>& mesher) {
for (Size direction = 0; direction < mesher->layout()->dim().size(); ++direction) {
if (mesher->layout()->dim()[direction] > 1)
map_.push_back(SecondDerivativeOp(direction, mesher));
Expand Down

0 comments on commit 85448fc

Please sign in to comment.