OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-ure commits / f6c96cf

Fix build break
f6c96cf1227826763a7e84a92c207714e2846fd2
by Linas Vepštas <linasvepstas@gmail.com> · 2025-09-03T17:45:58.000Z

Changed files (1) +1 -1

opencog/ure/forwardchainer/ForwardChainer.cc +1 -1
……@@ -399,7 +399,7 @@ SourcePtr ForwardChainer::select_source(const std::string& msgprfx)
399399 }
400400
401401 // Calculate the total weight to be sure it's greater than zero
402 double total = boost::accumulate(weights, 0.0);
402 double total = std::accumulate(weights.begin(), weights.end(), 0.0);
403403
404404 if (total == 0.0) {
405405 ure_logger().debug() << msgprfx << "All sources have been exhausted";