Skip to content

Commit

Permalink
Fix: wrong mcr setting
Browse files Browse the repository at this point in the history
  • Loading branch information
waldodeboer committed May 24, 2024
1 parent c0c1c14 commit 06edc6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MCRA.Simulation/Actions/Risks/RisksActionCalculator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ protected override RisksActionResult run(ActionData data, CompositeProgressState
compute<ITargetIndividualExposure>(ExposureType.Chronic, data, settings, intraSpeciesRandomGenerator) :
compute<ITargetIndividualDayExposure>(ExposureType.Acute, data, settings, intraSpeciesRandomGenerator);

if (_project.EffectSettings.AnalyseMcr
if (_project.RisksSettings.AnalyseMcr
&& settings.IsCumulative && data.ActiveSubstances.Count > 1
&& (result.IndividualEffectsBySubstanceCollections?.Any() ?? false)
) {
Expand Down

0 comments on commit 06edc6e

Please sign in to comment.