Skip to content

Commit

Permalink
Support log2 in HCOM
Browse files Browse the repository at this point in the history
  • Loading branch information
robbr48 committed Apr 11, 2024
1 parent 900387c commit 6c6d335
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions HopsanGUI/HcomHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6245,6 +6245,7 @@ void HcomHandler::evaluateExpression(QString expr, VariableType desiredType)
funcMap.insert("acos", static_cast<ScalarMathFunction_t>(acos));
funcMap.insert("atan", static_cast<ScalarMathFunction_t>(atan));
funcMap.insert("log", static_cast<ScalarMathFunction_t>(log));
funcMap.insert("log2", static_cast<ScalarMathFunction_t>(log2));
funcMap.insert("exp", static_cast<ScalarMathFunction_t>(exp));
funcMap.insert("sqrt", static_cast<ScalarMathFunction_t>(sqrt));
funcMap.insert("round", static_cast<ScalarMathFunction_t>(round));
Expand Down

0 comments on commit 6c6d335

Please sign in to comment.