Skip to content
Snippets Groups Projects
Commit fde3c990 authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Polish

parent 050a48f5
No related branches found
No related tags found
No related merge requests found
......@@ -102,12 +102,15 @@ def node_to_prop(node_list, e_overestim, SHPC, orientation):
return properties
def search_beg(inst_eddies, max_delta):
return min(max_delta + 1, len(inst_eddies))
def search_end(inst_eddies, max_delta):
return max(len(inst_eddies) - max_delta - 1, 0)
t0 = time.perf_counter()
timings = open("timings_cost.txt", "w")
parser = argparse.ArgumentParser()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment