fixed a minor regression in PSSMLT

metadata
Wenzel Jakob 2012-10-10 11:55:35 -04:00
parent 83629a3f20
commit 0b9e2172a7
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ public:
if (m_config.workUnits <= 0)
m_config.workUnits = std::max((int) std::ceil((cropSize.x
* cropSize.y * sampleCount) / 200000.0f), 1);
* cropSize.y * sampleCount) / (Float) desiredMutationsPerWorkUnit), 1);
m_config.nMutations = (cropSize.x * cropSize.y *
sampleCount) / m_config.workUnits;