[yt-svn] commit/yt: jsoishi: fixed typo

Bitbucket commits-noreply at bitbucket.org
Thu Oct 18 12:50:48 PDT 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/b33c3a4a1cde/
changeset:   b33c3a4a1cde
branch:      yt
user:        jsoishi
date:        2012-10-18 21:49:02
summary:     fixed typo
affected #:  1 file

diff -r 0e2a183fc7848ef746d5608cfb9cc837fda95ea5 -r b33c3a4a1cde5b796cc09f99b78c683518b4cd18 yt/testing.py
--- a/yt/testing.py
+++ b/yt/testing.py
@@ -28,8 +28,8 @@
     assert_approx_equal, assert_array_almost_equal, assert_equal, \
     assert_array_less, assert_string_equal, assert_array_almost_equal_nulp
 
-def assert_rel_equal(a1, a2, decimels):
-    return assert_almost_equal(a1/a2, 1.0, decimels)
+def assert_rel_equal(a1, a2, decimals):
+    return assert_almost_equal(a1/a2, 1.0, decimals)
 
 def amrspace(extent, levels=7, cells=8):
     """Creates two numpy arrays representing the left and right bounds of

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list