Skip to content

Commit

Permalink
Update OpenSeesReliabilityCommands.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mhscott authored Mar 14, 2024
1 parent ff09d7b commit 6606d32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SRC/interpreter/OpenSeesReliabilityCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2252,8 +2252,8 @@ int OPS_gradientEvaluator() {
return -1;
}
Integrator *sensAlgo = cmds->getSensitivityAlgorithm();
if (sensAlgo == 0) {
opserr << "WARNING: integrator must be defined before "
if (sensAlgo == 0 && strcmp(type,"OpenSees") == 0) {
opserr << "WARNING: OpenSees integrator must be defined before "
"gradient evaluator\n";
return -1;
}
Expand Down

0 comments on commit 6606d32

Please sign in to comment.