[yt-svn] commit/cookbook: jsoishi: fixed a typo pointed out by Devin Silvia
Bitbucket
commits-noreply at bitbucket.org
Wed Dec 28 17:42:19 PST 2011
1 new commit in cookbook:
https://bitbucket.org/yt_analysis/cookbook/changeset/222cfc41bc3e/
changeset: 222cfc41bc3e
user: jsoishi
date: 2011-12-29 02:42:11
summary: fixed a typo pointed out by Devin Silvia
affected #: 1 file
diff -r 2fd16cca3ba341c2158e1ca5fc034f41035f76c8 -r 222cfc41bc3ec285500096b9c2c7aeaa13e0c5f6 recipes/simple_volume_rendering.py
--- a/recipes/simple_volume_rendering.py
+++ b/recipes/simple_volume_rendering.py
@@ -50,7 +50,7 @@
# Now we call the ray caster, which handles the rest.
# Note that we feed whole_box, which means that it won't apply any cuts to the
# considered grids. This may be unnecessary for most appliations.
-cam = pf.h.camera(L, W, c, Nvec, tf)
+cam = pf.h.camera(c, L, W, Nvec, tf)
# Now we tell the camera object to take a snapshot, casting the rays
image = cam.snapshot()
Repository URL: https://bitbucket.org/yt_analysis/cookbook/
--
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