test fix for changed interp.grid.grid symantics
This commit is contained in:
parent
5ee12b1f57
commit
e50e12dcbe
@ -50,7 +50,10 @@ class Test(unittest.TestCase):
|
||||
|
||||
self.q = [exact_func(v) for v in self.verts]
|
||||
|
||||
self.g = grid(self.verts, self.q)
|
||||
self.g = grid()
|
||||
self.g.verts = self.verts
|
||||
self.g.q = self.q
|
||||
|
||||
self.R, self.R_q = (self.verts[:3], self.q[:3])
|
||||
self.S, self.S_q = (self.verts[3:], self.q[3:])
|
||||
|
||||
@ -73,8 +76,6 @@ class Test(unittest.TestCase):
|
||||
|
||||
self.X = [4, 5]
|
||||
|
||||
self.g = grid(self.verts, self.q)
|
||||
|
||||
self.phis, self.qlin = baker.qlinear(self.X, self.R, self.q)
|
||||
self.exact = exact_func(self.X)
|
||||
self.answer = baker.interpolate(self.X, self.R,
|
||||
|
Loading…
Reference in New Issue
Block a user