Small bug for steady files
@@ -48,10 +48,10 @@ class TestPlanarWingWakeUvlm(unittest.TestCase):
# read output and compare
output_path = os.path.dirname(solver_path) + '/output/planarwing_discretewake/forces/'
- forces_data = np.genfromtxt(output_path + 'planarwing_discretewake_aeroforces.csv', delimiter=',')
- self.assertAlmostEqual(forces_data[-1, 1], 2.91e1, 2)
+ forces_data = np.matrix(np.genfromtxt(output_path + 'planarwing_discretewake_aeroforces.csv', delimiter=','))
+ self.assertAlmostEqual(forces_data[-1, 1], 2.91e1, 1)
self.assertAlmostEqual(forces_data[-1, 2], 0.0, 2)
- self.assertAlmostEqual(forces_data[-1, 3], 4.764e3, 2)
+ self.assertAlmostEqual(forces_data[-1, 3], 4.764e3, 1)
# class TestDynamic2dXbeam(unittest.TestCase):
# """
