Skip to content

Commit

Permalink
fixed explicit constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
klausspanderen committed Nov 6, 2023
1 parent 3b708e9 commit 2de91c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ql/math/integrals/expsinhintegral.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace QuantLib {
*/
class ExpSinhIntegral : public Integrator {
public:
ExpSinhIntegral(
explicit ExpSinhIntegral(
Real relTolerance = std::sqrt(std::numeric_limits<Real>::epsilon()),
Size maxRefinements = 9)
: Integrator(QL_MAX_REAL, Null<Size>()),
Expand Down Expand Up @@ -86,7 +86,7 @@ namespace QuantLib {

class ExpSinhIntegral : public Integrator {
public:
ExpSinhIntegral( Real relTolerance = 0, Size maxRefinements = 0)
explicit ExpSinhIntegral( Real relTolerance = 0, Size maxRefinements = 0)
: Integrator(Null<Real>(), Null<Size>()) {
QL_FAIL("boost version 1.69 or higher is required in order to use ExpSinhIntegral");
}
Expand Down

0 comments on commit 2de91c2

Please sign in to comment.