Changeset 9393
- Timestamp:
- Jan 13, 2015, 2:49:40 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/utilities/quantity_setting_functions.py
r9392 r9393 375 375 'or evalute to nan over all datasets' 376 376 unset_inds = (isSet!=1).nonzero()[0] 377 lui = min(5, len gth(unset_inds))378 print 'There are ', len gth(unset_inds), ' such points'377 lui = min(5, len(unset_inds)) 378 print 'There are ', len(unset_inds), ' such points' 379 379 print 'Here are a few:' 380 380 for i in range(lui): 381 print x[ i]+xll, y[i]+yll381 print x[unset_inds[i]]+xll, y[unset_inds[i]]+yll 382 382 raise Exception('It seems the input data needs to be fixed') 383 383
Note: See TracChangeset
for help on using the changeset viewer.