Skip to content

Commit

Permalink
BUG: Need to initialize both seeds.
Browse files Browse the repository at this point in the history
  • Loading branch information
ntustison authored and dzenanz committed Jan 4, 2023
1 parent de142a0 commit 8e1b825
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1288,7 +1288,7 @@ ImageRegistrationMethodv4<TFixedImage, TMovingImage, TTransform, TVirtualImage,
if (m_ReseedIterator || m_RandomSeed != seed)
{
m_ReseedIterator = false;
m_RandomSeed = seed;
m_CurrentRandomSeed = m_RandomSeed = seed;
this->Modified();
}
}
Expand Down

0 comments on commit 8e1b825

Please sign in to comment.