Skip to content

Commit 66c18ea

Browse files
authored
[ML] boost::function cannot be initialised with nullptr (#47)
This fixes a compilation failure introduced backporting the 0 -> nullptr changes. The 7.0 branch uses std::function which has a conversion from nullptr boost::function does not
1 parent 4eae98c commit 66c18ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/maths/CPeriodicityHypothesisTests.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ class MATHS_EXPORT CPeriodicityHypothesisTests {
257257
};
258258

259259
public:
260-
explicit CNestedHypotheses(TTestFunc test = nullptr);
260+
explicit CNestedHypotheses(TTestFunc test = TTestFunc());
261261

262262
//! Set the null hypothesis.
263263
CBuilder null(TTestFunc test);

0 commit comments

Comments
 (0)