[Yt-svn] yt-commit r1307 - trunk/yt/lagos/hop
sskory at wrangler.dreamhost.com
sskory at wrangler.dreamhost.com
Thu May 14 07:17:49 PDT 2009
Author: sskory
Date: Thu May 14 07:17:48 2009
New Revision: 1307
URL: http://yt.spacepope.org/changeset/1307
Log:
I had in for the float array.
Modified:
trunk/yt/lagos/hop/hop_regroup.c
Modified: trunk/yt/lagos/hop/hop_regroup.c
==============================================================================
--- trunk/yt/lagos/hop/hop_regroup.c (original)
+++ trunk/yt/lagos/hop/hop_regroup.c Thu May 14 07:17:48 2009
@@ -450,7 +450,7 @@
float *denstemp;
g1temp = (int *)malloc(sizeof(int) * my_comm->nb);
g2temp = (int *)malloc(sizeof(int) * my_comm->nb);
- denstemp = (int *)malloc(sizeof(int) * my_comm->nb);
+ denstemp = (float *)malloc(sizeof(float) * my_comm->nb);
int temppos = 0;
for(j=0;j<(my_comm->nb);j++) {
More information about the yt-svn
mailing list