Changeset 567


Ignore:
Timestamp:
Nov 16, 2004, 5:00:40 PM (20 years ago)
Author:
ole
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/test_least_squares.py

    r494 r567  
    141141                  [0.25, 0.75, 0.0, 0.0, 0.0, 0.0],  #Affects points a and b
    142142                  [1./3, 0.0, 0.0, 0.0, 1./3, 1./3]] #Affects points a,e and f
     143
     144
     145        #FIXME: This test failed on our Linux box, but not on WIndows.
     146        A = interp.get_A()
     147        for i in range(A.shape[0]):
     148            for j in range(A.shape[1]):
     149                if not allclose(A[i,j], answer[i][j]):
     150                    print i,j,':',A[i,j], answer[i][j]
     151
    143152
    144153        assert allclose(interp.get_A(), answer)
Note: See TracChangeset for help on using the changeset viewer.