Changeset 16815
- Timestamp:
- 11/17/13 21:01:38 (11 years ago)
- Location:
- issm/trunk-jpl/src/m/classes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/independent.m
r15370 r16815 44 44 error('independent checkconsistency error: nods should be set to the size of the independent variable'); 45 45 end 46 md = checkfield(md, ['autodiff.independents{' num2str(i) '}.fov_forward_indices'],'>=',1,'<=',obj.nods,'size',[NaN 1]);46 md = checkfield(md,'fieldname',['autodiff.independents{' num2str(i) '}.fov_forward_indices'],'>=',1,'<=',obj.nods,'size',[NaN 1]); 47 47 end 48 48 -
issm/trunk-jpl/src/m/classes/independent.py
r14640 r16815 58 58 if self.nods==0: 59 59 raise TypeError("independent checkconsistency error: nods should be set to the size of the independent variable") 60 md = checkfield(md, "autodiff.independents[%d].fov_forward_indices" % i,'>=',1,'<=',self.nods,'size',[float('NaN'),1])60 md = checkfield(md,'fieldname',"autodiff.independents[%d].fov_forward_indices" % i,'>=',1,'<=',self.nods,'size',[float('NaN'),1]) 61 61 62 62 return md
Note:
See TracChangeset
for help on using the changeset viewer.