[cig-commits] r20617 - short/3D/PyLith/branches/v1.7-stable/pylith/problems

brad at geodynamics.org brad at geodynamics.org
Tue Aug 21 15:51:01 PDT 2012


Author: brad
Date: 2012-08-21 15:51:01 -0700 (Tue, 21 Aug 2012)
New Revision: 20617

Modified:
   short/3D/PyLith/branches/v1.7-stable/pylith/problems/TimeStep.py
Log:
Fixed bug in time step reduction.

Modified: short/3D/PyLith/branches/v1.7-stable/pylith/problems/TimeStep.py
===================================================================
--- short/3D/PyLith/branches/v1.7-stable/pylith/problems/TimeStep.py	2012-08-21 18:24:25 UTC (rev 20616)
+++ short/3D/PyLith/branches/v1.7-stable/pylith/problems/TimeStep.py	2012-08-21 22:51:01 UTC (rev 20617)
@@ -189,7 +189,7 @@
     import pylith.mpi.mpi as mpi
     comm = mesh.getComm()
     dtStableAll = mpi.allreduce_scalar_double(dtStable, mpi.mpi_min(), comm.handle)
-    return dtStable
+    return dtStableAll
 
 
 



More information about the CIG-COMMITS mailing list