Commit 0f55ff8b authored by miller86's avatar miller86

fixing compilation errors I introduced while fixing warnings

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@23767 18c085ea-50e0-402c-830e-de6fd14e8384
parent 357759eb
......@@ -59,7 +59,6 @@ write_curv3d(DBfile *dbfile)
int ndims = 3;
float *coords[3];
coords[0] = (float*)x; coords[1] = (float*)y; coords[2] = (float*)z;
float *coords[] = {(float*)x, (float*)y, (float*)z};
DBPutQuadmesh(dbfile, "quadmesh", NULL, coords, dims, ndims,
DB_FLOAT, DB_NONCOLLINEAR, NULL);
}
......
......@@ -59,7 +59,7 @@ write_curv3d(DBfile *dbfile)
int dims[] = {4, 3, 2};
int ndims = 3;
float *coords[3];
coords[0] (float*)x; coords[1] (float*)y; coords[2] (float*)z;
coords[0] = (float*)x; coords[1] = (float*)y; coords[2] = (float*)z;
DBPutQuadmesh(dbfile, "quadmesh", NULL, coords, dims, ndims,
DB_FLOAT, DB_NONCOLLINEAR, NULL);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment