Skip to content

Commit

Permalink
Merge pull request #5 from 0secure/master
Browse files Browse the repository at this point in the history
Fix error causing IR:H to fail
  • Loading branch information
dgaus authored Sep 6, 2018
2 parents 9e45c13 + 5aab3d7 commit 12bfa62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cvsslib/cvss3/calculations.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def calculate_modified_impact_sub_score(scope: ModifiedScope,
(1 - modified_conf * conf_req) *
(1 - modified_integ * integ_req) *
(1 - modified_avail * avail_req),
0.915
D("0.915")
)

if scope == ModifiedScope.UNCHANGED.value:
Expand Down Expand Up @@ -144,4 +144,4 @@ def calculate(run_calculation, get):

environment_score = run_calculation(calculate_environmental_score, override=override)

return float(base_score), float(temporal_score), float(environment_score)
return float(base_score), float(temporal_score), float(environment_score)

0 comments on commit 12bfa62

Please sign in to comment.