Changeset 6533 for branches/numpy/anuga/fit_interpolate
- Timestamp:
- Mar 17, 2009, 4:02:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/numpy/anuga/fit_interpolate/fit.py
r6517 r6533 310 310 assert flag is True, msg 311 311 312 # FIXME(Ole): This is the message referred to in ticket:314313 312 minx = min(self.mesh_boundary_polygon[:,0]) 314 313 maxx = max(self.mesh_boundary_polygon[:,0]) … … 318 317 msg += 'Mesh boundary extent is (%.f, %.f), (%.f, %.f)'\ 319 318 % (minx, maxx, miny, maxy) 320 raise RuntimeError, msg321 319 322 320 … … 377 375 self.build_fit_subset(points, z, verbose=verbose) 378 376 379 # FIXME(Ole): I thought this test would make sense here380 # See test_fitting_example_that_crashed_2 in test_shallow_water_domain.py381 # Committed 11 March 2009382 msg = 'Matrix AtA was not built'383 assert self.AtA is not None, msg384 385 #print 'Matrix was built OK'386 387 377 388 378 point_coordinates = None … … 392 382 if point_coordinates is None: 393 383 if verbose: print 'Warning: no data points in fit' 394 msg = 'No interpolation matrix.' 395 assert self.AtA is not None, msg 396 assert self.Atz is not None 384 #assert self.AtA != None, 'no interpolation matrix' 385 #assert self.Atz != None 386 assert not self.AtA is None, 'no interpolation matrix' 387 assert not self.Atz is None 397 388 398 389 # FIXME (DSG) - do a message
Note: See TracChangeset
for help on using the changeset viewer.