mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2026-01-27 10:21:48 +00:00
fix remove unnecessary else after return
Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com> Change-Id: I61dc58f15c8f03a686437e19a36ac0afe35904e9
This commit is contained in:
@@ -247,8 +247,7 @@ def estimate_raman_gain(node, equipment, power_dbm):
|
||||
node.estimated_gain = estimated_gain
|
||||
SimParams.set_params(save_sim_params)
|
||||
return round(estimated_gain, 2)
|
||||
else:
|
||||
return 0.0
|
||||
return 0.0
|
||||
|
||||
|
||||
def span_loss(network, node, equipment, input_power=None):
|
||||
|
||||
Reference in New Issue
Block a user