Skip to content

Commit

Permalink
A NONLINEAR block requires sympy --analytic.
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc committed Oct 14, 2024
1 parent dc91394 commit 53b1e01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,8 @@ int run_nmodl(int argc, const char* argv[]) {

enable_sympy(solver_exists(*ast, "derivimplicit"), "'SOLVE ... METHOD derivimplicit'");
enable_sympy(node_exists(*ast, ast::AstNodeType::LINEAR_BLOCK), "'LINEAR' block");
enable_sympy(node_exists(*ast, ast::AstNodeType::NON_LINEAR_BLOCK),
"'NONLINEAR' block");
enable_sympy(solver_exists(*ast, "sparse"), "'SOLVE ... METHOD sparse'");
}

Expand Down

0 comments on commit 53b1e01

Please sign in to comment.