Changeset 4277
- Timestamp:
- Feb 23, 2007, 3:23:02 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/caching/caching.py
r4270 r4277 332 332 else: # Evaluate function and save to cache 333 333 if verbose: 334 334 335 msg1(funcname, args, kwargs,reason) 335 336 … … 741 742 # comp_level = 1 works well. 742 743 textwidth1 = 16 # Text width of key fields in report forms. 743 textwidth2 = 132 # Maximal width of textual representation of 744 #textwidth2 = 132 # Maximal width of textual representation of 745 textwidth2 = 300 # Maximal width of textual representation of 744 746 # arguments. 745 747 textwidth3 = 16 # Initial width of separation lines. Is modified. … … 2303 2305 import Numeric 2304 2306 if type(args) == Numeric.ArrayType: 2305 if len(args.flat) > textwidth: 2307 # if len(args.flat) > textwidth: 2308 # Changed by Duncan and Nick 21/2/07 .flat has problems with 2309 # non-contigous arrays and ravel is equal to .flat except it 2310 # can work with non-contigous arrays 2311 if len(Numeric.ravel(args)) > textwidth: 2306 2312 args = 'Array: ' + str(args.shape) 2307 2313
Note: See TracChangeset
for help on using the changeset viewer.