Changeset 26677


Ignore:
Timestamp:
11/30/21 06:00:08 (3 years ago)
Author:
vverjans
Message:

BUG: fix python syntax

File:
1 edited

Legend:

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

    r26676 r26677  
    8989                if (md.friction.coupling!=0 and md.friction.coupling!=1 and md.friction.coupling!=2):
    9090                    raise TypeError('stochasticforcing field {} is only implemented for cases md.friction.coupling 0 or 1 or 2'.format(field))
    91                 if (np.any(md.friction.q==0):
     91                if (np.any(md.friction.q==0)):
    9292                        raise TypeError('stochasticforcing field {} requires non-zero q exponent'.format(field))
    9393
Note: See TracChangeset for help on using the changeset viewer.