Changeset 26667


Ignore:
Timestamp:
11/25/21 14:15:38 (3 years ago)
Author:
vverjans
Message:

CHG: Correcting python syntax (2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/stochasticforcing.py

    r26666 r26667  
    6060            np.linalg.cholesky(self.covariance)
    6161        except:
    62             error('md.stochasticforcing.covariance is not positive definite')
     62            raise TypeError('md.stochasticforcing.covariance is not positive definite')
    6363
    6464        # Check that all fields agree with the corresponding md class and if any field needs the default params
Note: See TracChangeset for help on using the changeset viewer.