Skip to content

Commit

Permalink
Clean up 0 as null pointer warning
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkyle committed May 16, 2018
1 parent 76e0965 commit 27e07a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/maths/CTimeSeriesDecompositionDetail.cc
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ CTimeSeriesDecompositionDetail::CCalendarTest::CCalendarTest(const CCalendarTest
m_LastMonth{other.m_LastMonth}, m_Test{!isForForecast && other.m_Test
? std::make_shared<CCalendarCyclicTest>(
*other.m_Test)
: 0} {
: nullptr} {
}

bool CTimeSeriesDecompositionDetail::CCalendarTest::acceptRestoreTraverser(core::CStateRestoreTraverser& traverser) {
Expand Down

0 comments on commit 27e07a5

Please sign in to comment.