Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/rsml/matching.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def match_plants(t1,t2, max_distance=None):

The matching is done usinf `one_to_one_match`
"""
from operator import div
from operator import truediv as div
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that the code that use the div operator is ugly.
It will be much better to replace list(map(div, ...by list comprehension.

I will create an issue for this


# compute seed position of plants in t
# ------------------------------------
Expand Down