Skip to content

Commit

Permalink
Black unhappy again
Browse files Browse the repository at this point in the history
  • Loading branch information
apaleyes committed Apr 28, 2024
1 parent fdd631f commit 192bcef
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions emukit/sensitivity/monte_carlo/monte_carlo_sensitivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ def saltelli_estimators(
Saltelli estimators of the total mean and variance
"""

variable_main_variance = (
sum(f_main_sample * f_new_fixing_sample) / (num_monte_carlo_points - 1) - total_mean**2
)
variable_main_variance = sum(f_main_sample * f_new_fixing_sample) / (num_monte_carlo_points - 1) - total_mean**2
variable_total_variance = (
total_variance - sum(f_fixing_sample * f_new_fixing_sample) / (num_monte_carlo_points - 1) + total_mean**2
)
Expand Down

0 comments on commit 192bcef

Please sign in to comment.