Skip to content

Commit

Permalink
BUG: Slight change in logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
ntustison committed Nov 25, 2024
1 parent fc55489 commit 7db7ea1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/labelImageRegistration.R
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ labelImageRegistration <- function( fixedLabelImages, movingLabelImages,
stop( "Unrecognized linear transform." )
}

doDeformable <- FALSE
if( ! is.null( typeOfTransform ) || length( typeOfTransform ) > 0 )
doDeformable <- TRUE
if( is.null( typeOfTransform ) || length( typeOfTransform ) == 0 )
{
doDeformable <- TRUE
doDeformable <- FALSE
}

commonLabelIds <- list()
Expand Down

0 comments on commit 7db7ea1

Please sign in to comment.