Commit 1bc1aaed authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Merge statements.

parent a0935c36
......@@ -207,12 +207,11 @@ zaxisCreate_(int zaxistype, int size, int id)
zaxisptr->positive = ZaxistypeEntry[zaxistype].positive;
double *vals = (double *)xmalloc(size*sizeof(double));
double *vals = zaxisptr->vals = (double *)xmalloc(size*sizeof(double));
for ( int ilev = 0; ilev < size; ilev++ )
vals[ilev] = 0.0;
zaxisptr->vals = vals;
return zaxisID;
}
......
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