Skip to content
Snippets Groups Projects
Verified Commit a5f638b4 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

corrected preproc bug

parent 38d58c19
Branches
Tags
No related merge requests found
Pipeline #12862 passed
...@@ -82,7 +82,7 @@ void tensor_field_deallocate(tensor_field field) { ...@@ -82,7 +82,7 @@ void tensor_field_deallocate(tensor_field field) {
} }
void tensor_field_from_futhark_f32_4d_inplace(futhark_4d *f, struct futhark_context *ctx, tensor_field field) { void tensor_field_from_futhark_f32_4d_inplace(futhark_4d *f, struct futhark_context *ctx, tensor_field field) {
#ifdef DEBUG #ifndef NDEBUG
const int64_t *shape = futhark_shape_4d(ctx, f); const int64_t *shape = futhark_shape_4d(ctx, f);
fint nx = shape[0]; fint nx = shape[0];
fint ny = shape[1]; fint ny = shape[1];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment