[yt-svn] commit/yt: brittonsmith: Fixing a typo.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Sun May 26 07:13:04 PDT 2013


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/1045cefe0b41/
Changeset:   1045cefe0b41
Branch:      yt
User:        brittonsmith
Date:        2013-05-26 16:12:41
Summary:     Fixing a typo.
Affected #:  1 file

diff -r ea61067c25f0d228f9168ee0ffae0dfb8f4ae360 -r 1045cefe0b41d8b5439ab63dc232cb52ebaf72b3 yt/utilities/linear_interpolators.py
--- a/yt/utilities/linear_interpolators.py
+++ b/yt/utilities/linear_interpolators.py
@@ -63,7 +63,7 @@
         if isinstance(boundaries, np.ndarray):
             if boundaries.size != table.shape[0]:
                 mylog.error("Bins array not the same length as the data.")
-                raise ValuesError
+                raise ValueError
             self.x_bins = boundaries
         else:
             x0, x1 = boundaries

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