diff --git a/packages/piro/src/Piro_ThyraProductME_Constraint_SimOpt.hpp b/packages/piro/src/Piro_ThyraProductME_Constraint_SimOpt.hpp index 3f39d6bb15a4..e364868016e4 100644 --- a/packages/piro/src/Piro_ThyraProductME_Constraint_SimOpt.hpp +++ b/packages/piro/src/Piro_ThyraProductME_Constraint_SimOpt.hpp @@ -207,7 +207,6 @@ class ThyraProductME_Constraint_SimOpt : public ROL::Constraint_SimOpt { } } else { - Thyra::ModelEvaluatorBase::Derivative dfdp_dv = outArgs.get_DfDp(0); auto dfdp_op = dfdp_dv.getLinearOp(); auto dfdp = dfdp_dv.getMultiVector();