Commit e83fb5c5 authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

merged trunk into cdi_conversion-c++

parents d20fb217 699dcb31
......@@ -144,7 +144,11 @@ static void
compute_curvilinear(double *coords_,
const struct cart_coord a[4], size_t sizex, size_t sizey)
#ifdef __cplusplus
auto coords = (double (*)[sizey][sizex])coords_;
double (*coords)[sizey][sizex] = (double (*)[sizey][sizex])coords_;
for (size_t j = 0; j < sizey; ++j)
double g = (double)j / (double)(sizey - 1);
Supports Markdown
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