Skip to content

Commit

Permalink
BUG: Set NumberOfResolutions = 3 by default, in MovingImagePyramidBase
Browse files Browse the repository at this point in the history
Following commit f84ac0d "ENH: First checkin of a generic pyramid...", February 2, 2012.

Addressed issue #858 MovingImagePyramidBase, FixedImagePyramidBase have different defaults for "NumberOfResolutions"
  • Loading branch information
N-Dekker committed Mar 28, 2023
1 parent 48d29e0 commit 55a42c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/ComponentBaseClasses/elxMovingImagePyramidBase.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ MovingImagePyramidBase<TElastix>::SetMovingSchedule()
const Configuration & configuration = Deref(Superclass::GetConfiguration());

/** Read numberOfResolutions. */
unsigned int numberOfResolutions = 0;
unsigned int numberOfResolutions = 3;
configuration.ReadParameter(numberOfResolutions, "NumberOfResolutions", 0, true);
if (numberOfResolutions == 0)
{
Expand Down

0 comments on commit 55a42c0

Please sign in to comment.