Skip to content

Commit

Permalink
remove unintented code lines after return
Browse files Browse the repository at this point in the history
  • Loading branch information
EdoLu committed Sep 12, 2023
1 parent 6412c78 commit 5b68732
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions gemact/calculators.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,6 @@ def local_moments(severity, deductible, discr_step, n_discr_nodes):
nodes = severity.loc + jarr * discr_step
return {'nodes': nodes, 'fj': fj}

if exit_point != float('inf'):
nodes = np.concatenate((nodes, [nodes[-1] + discr_step]))

class MCCalculator:
"""
Class representing the Monte Carlo (MC) algorithm calculators.
Expand Down

0 comments on commit 5b68732

Please sign in to comment.