Commits

Satish Balay  committed 4c92ecb

TS: fix MSVC compiler error: non-POD member of anonymous struct

Suggested-by: Jed Brown <jedbrown@mcs.anl.gov>

  • Participants
  • Parent commits 87748af

Comments (0)

Files changed (1)

File include/petsc-private/tsimpl.h

     /* Flag to unshift Jacobian before calling the IJacobian or RHSJacobian functions.  This is useful
      * if the user would like to reuse (part of) the Jacobian from the last evaluation. */
     PetscBool reuse;
-    PetscScalar scale,shift;
+    PetscReal scale,shift;
   } rhsjacobian;
 
   struct {