Changeset 20526


Ignore:
Timestamp:
04/21/16 16:02:59 (9 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fixig AD error on python test

File:
1 edited

Legend:

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

    r20002 r20526  
    5252                                raise TypeError("independent checkconsistency error: nods should be set to the size of the independent variable")
    5353
    54                 if self.fov_forward_indices:
     54                if len(self.fov_forward_indices) > 0:
    5555                        if not strcmpi(driver,'fov_forward'):
    5656                                raise TypeError("cannot declare an independent with fov_forward_indices when the driver is not fov_forward!")
Note: See TracChangeset for help on using the changeset viewer.