Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 757048b5 authored by BOLTEAU Mathieu's avatar BOLTEAU Mathieu
Browse files

fix(netseed): inverse union and intersection calculation

parent a43da6dc
No related branches found
No related tags found
No related merge requests found
Pipeline #279254 failed
......@@ -121,6 +121,6 @@ def non_enumeration_netseed_data_formatting(data: str) -> dict:
for l in data_list:
one_solution.append(l[0])
if len(l) == 1:
union.append(l[0])
intersection.extend(l)
intersection.append(l[0])
union.extend(l)
return {'one_solution': one_solution, 'union': union, 'intersection': intersection}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment