Commit 50a6315b authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

[lib] MCLAnalyser: remove useless check in less_activated_solution (empty dimacs is impossible)

parent a918a02e
......@@ -198,12 +198,6 @@ class MCLAnalyser(object):
:type dimacs_solution_list: <tuple <DimacsFrontierSol>>
:rtype: <DimacsFrontierSol>
if not dimacs_solution_list:
"Trying to find a smallest solution without solution list"
return None
# Count the number of activated places in each solution
nb_activated = [sol.nb_activated_frontiers for sol in dimacs_solution_list]
print("nb_activated per dimacs fronts sols", nb_activated)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment