Skip to content

Commit

Permalink
indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
uecker committed Oct 18, 2024
1 parent f945653 commit 3505fb7
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/affinereg.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,19 @@ int main_affinereg(int argc, char* argv[argc])

switch (aff) {

case AFFINE_ALL:
trafo = (1 == rdims[2]) ? nlop_affine_2D() : nlop_affine_3D();
break;
case AFFINE_ALL:
trafo = (1 == rdims[2]) ? nlop_affine_2D() : nlop_affine_3D();
break;

case AFFINE_RIGID:
trafo = (1 == rdims[2]) ? nlop_affine_rigid_2D() : nlop_affine_rigid_3D();
break;
case AFFINE_RIGID:
trafo = (1 == rdims[2]) ? nlop_affine_rigid_2D() : nlop_affine_rigid_3D();
break;

case AFFINE_TRANS:
trafo = (1 == rdims[2]) ? nlop_affine_translation_2D() : nlop_affine_translation_3D();
break;
case AFFINE_TRANS:
trafo = (1 == rdims[2]) ? nlop_affine_translation_2D() : nlop_affine_translation_3D();
break;

assert(0);
assert(0);
}

long aff_dims[DIMS] = { 3, 4, [ 2 ... DIMS - 1 ] = 1 };
Expand Down

0 comments on commit 3505fb7

Please sign in to comment.