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 8e1b825 commit 490b5c6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,8 @@ ImageRegistrationMethodv4<TFixedImage, TMovingImage, TTransform, TVirtualImage,
if (m_ReseedIterator || m_RandomSeed != seed)
{
m_ReseedIterator = false;
m_CurrentRandomSeed = m_RandomSeed = seed;
m_RandomSeed = seed;
m_CurrentRandomSeed = seed;
this->Modified();
}
}
Expand Down

0 comments on commit 490b5c6

Please sign in to comment.