Skip to content

Commit

Permalink
very simple numpy example conversion - lowess
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoantao committed Jul 5, 2010
1 parent f81b007 commit ae0845c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/test_lowess.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_Precomputed(self):
# Smooth output calculated by the lowess function
output = lowess(x, y, f=2./3., iter = 3)
for precomputed, calculated in zip(ys, output):
self.assertAlmostEqual(precomputed, calculated, 4)
self.assertAlmostEqual(precomputed, calculated, places=4)

if __name__ == "__main__":
runner = unittest.TextTestRunner(verbosity = 2)
Expand Down

0 comments on commit ae0845c

Please sign in to comment.