better backwards compatibility for moba
@@ -219,6 +219,9 @@ int main_moba(int argc, char* argv[argc])
debug_printf(DP_INFO, "Est. image size: %ld %ld %ld\n", img_vec[0], img_vec[1], img_vec[2]);
}
+
+ if (!use_compat_to_version("v0.7.00")) {
+
md_zsmul(DIMS, traj_dims, traj, traj, 2.);
NESTED(long, dbl, (long x)) { return (x > 1) ? (2 * x) : 1; };
@@ -227,7 +230,7 @@ int main_moba(int argc, char* argv[argc])
grid_dims[PHS1_DIM] = dbl(img_vec[1]);
grid_dims[PHS2_DIM] = dbl(img_vec[2]);
- if (use_compat_to_version("v0.7.00")) {
+ } else {
long grid_size = ksp_dims[1] * oversampling;
grid_dims[READ_DIM] = grid_size;
