Skip to content

Commit

Permalink
Use expression autonomous method in equation.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquinffernandez committed Aug 27, 2024
1 parent 76fd9f7 commit 8f417c8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/mmoc/ir/equation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#include <util/model_config.h>
#include <util/util.h>
#include <util/visitors/algebraics.h>
#include <util/visitors/autonomous.h>
#include <util/visitors/called_functions.h>
#include <util/visitors/get_index_variables.h>
#include <util/visitors/is_recursive_def.h>
Expand Down Expand Up @@ -131,8 +130,7 @@ void Equation::initialize(AST_Equation eq)
void Equation::setup()
{
stringstream buffer;
Autonomous autonomous;
_autonomous = autonomous.apply(_rhs.expression());
_autonomous = _rhs.autonomous();
CalledFunctions cf;
_calledFunctions = cf.apply(_rhs.expression());
if (_range) {
Expand Down

0 comments on commit 8f417c8

Please sign in to comment.