diff --git a/src/ts/interface/ts.c b/src/ts/interface/ts.c index bc92d98..1ccd6ba 100644 --- a/src/ts/interface/ts.c +++ b/src/ts/interface/ts.c @@ -612,7 +612,7 @@ PetscErrorCode TSComputeRHSJacobian(TS ts,PetscReal t,Vec U,Mat A,Mat B) if (ts->rhsjacobian.time == t && (ts->problem_type == TS_LINEAR || (ts->rhsjacobian.Xid == Uid && ts->rhsjacobian.Xstate == Ustate)) && (rhsfunction != TSComputeRHSFunctionLinear)) { /* restore back RHS Jacobian matrices if they have been shifted/scaled */ - if (A == ts->Arhs) { + if (0 && A == ts->Arhs) { if (ts->rhsjacobian.shift != 0) { ierr = MatShift(A,-ts->rhsjacobian.shift);CHKERRQ(ierr); }