[cig-commits] r20002 - short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/savageprescott

brad at geodynamics.org brad at geodynamics.org
Thu Apr 26 10:44:32 PDT 2012


Author: brad
Date: 2012-04-26 10:44:31 -0700 (Thu, 26 Apr 2012)
New Revision: 20002

Modified:
   short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/savageprescott/plot_soln.py
Log:
Fixed bugin plotting script (or -> and in res test).

Modified: short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/savageprescott/plot_soln.py
===================================================================
--- short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/savageprescott/plot_soln.py	2012-04-26 17:42:46 UTC (rev 20001)
+++ short/3D/PyLith/benchmarks/trunk/quasistatic/sceccrustdeform/savageprescott/plot_soln.py	2012-04-26 17:44:31 UTC (rev 20002)
@@ -189,7 +189,7 @@
     else:
         raise ValueError("Unknown cell '%s'." % cell)
     
-    if (resolution != "6.7km" or resolution != "20km"):
+    if (resolution != "6.7km" and resolution != "20km"):
         raise ValueError("Unavailable resolution '%s'." % resolution)
 
     data = tvtk.UnstructuredGrid()



More information about the CIG-COMMITS mailing list