fixed a minor regression in PSSMLT
parent
83629a3f20
commit
0b9e2172a7
|
@ -321,7 +321,7 @@ public:
|
||||||
|
|
||||||
if (m_config.workUnits <= 0)
|
if (m_config.workUnits <= 0)
|
||||||
m_config.workUnits = std::max((int) std::ceil((cropSize.x
|
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 *
|
m_config.nMutations = (cropSize.x * cropSize.y *
|
||||||
sampleCount) / m_config.workUnits;
|
sampleCount) / m_config.workUnits;
|
||||||
|
|
Loading…
Reference in New Issue