Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1ea8231

Browse files
authored
[ML] Fix compilation issue in debug build (#2815)
Fix a TRACE statement which causes the debug build compilation to fail
1 parent b26c790 commit 1ea8231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/maths/time_series/unittest/CTimeSeriesMultibucketFeaturesTest.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ BOOST_AUTO_TEST_CASE(testMultivariateMean) {
382382
std::ostringstream json;
383383
ml::core::CJsonStatePersistInserter inserter{json};
384384
feature.acceptPersistInserter(inserter);
385-
LOG_TRACE(<< i << ") model JSON representation:\n" << json);
385+
LOG_TRACE(<< i << ") model JSON representation:\n" << json.str());
386386
LOG_DEBUG(<< i << ") model JSON size: " << json.str().size());
387387

388388
// Restore the JSON into a new feature and assert checksums.

0 commit comments

Comments
 (0)