[yt-svn] commit/yt: sskory: The provided input to the star formation stuff need to be arrays.
Bitbucket
commits-noreply at bitbucket.org
Mon Feb 27 09:45:49 PST 2012
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/changeset/052fac826701/
changeset: 052fac826701
branch: yt
user: sskory
date: 2012-02-27 18:45:20
summary: The provided input to the star formation stuff need to be arrays.
affected #: 1 file
diff -r 5408bcfabae7816580925aeac1d44bff97986985 -r 052fac82670180c2de69fb2173dd9503e2b4cd1c yt/analysis_modules/star_analysis/sfr_spectrum.py
--- a/yt/analysis_modules/star_analysis/sfr_spectrum.py
+++ b/yt/analysis_modules/star_analysis/sfr_spectrum.py
@@ -66,8 +66,8 @@
"""
self._pf = pf
self._data_source = data_source
- self.star_mass = star_mass
- self.star_creation_time = star_creation_time
+ self.star_mass = na.array(star_mass)
+ self.star_creation_time = na.array(star_creation_time)
self.volume = volume
self.bin_count = bins
# Check to make sure we have the right set of informations.
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