summaryrefslogtreecommitdiff
path: root/src/helpers/math/Expression.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/math/Expression.cpp')
-rw-r--r--src/helpers/math/Expression.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers/math/Expression.cpp b/src/helpers/math/Expression.cpp
index fb28628d..3c0bee91 100644
--- a/src/helpers/math/Expression.cpp
+++ b/src/helpers/math/Expression.cpp
@@ -1,6 +1,6 @@
#include "Expression.hpp"
#include "muParser.h"
-#include "../../debug/Log.hpp"
+#include "../../debug/log/Logger.hpp"
using namespace Math;
@@ -16,7 +16,7 @@ std::optional<double> CExpression::compute(const std::string& expr) {
try {
m_parser->SetExpr(expr);
return m_parser->Eval();
- } catch (mu::Parser::exception_type& e) { Debug::log(ERR, "CExpression::compute: mu threw: {}", e.GetMsg()); }
+ } catch (mu::Parser::exception_type& e) { Log::logger->log(Log::ERR, "CExpression::compute: mu threw: {}", e.GetMsg()); }
return std::nullopt;
}