Index: /issm/trunk-jpl/src/m/classes/stochasticforcing.py
===================================================================
--- /issm/trunk-jpl/src/m/classes/stochasticforcing.py	(revision 26666)
+++ /issm/trunk-jpl/src/m/classes/stochasticforcing.py	(revision 26667)
@@ -60,5 +60,5 @@
             np.linalg.cholesky(self.covariance)
         except:
-            error('md.stochasticforcing.covariance is not positive definite')
+            raise TypeError('md.stochasticforcing.covariance is not positive definite')
 
         # Check that all fields agree with the corresponding md class and if any field needs the default params
