Skip to content

Commit e90b35f

Browse files
1-ARIjitSDiviloper
authored andcommitted
added correct function
changed function signature from distance_datespanset_datespan to distance_datespan_datespan for datespan instance in distance fucntion of datespan class
1 parent 07873e9 commit e90b35f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pymeos/collections/time/datespan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ def distance(self, other: TimeDate) -> timedelta:
471471
return self.distance(other.to_spanset())
472472
elif isinstance(other, DateSpan):
473473
return timedelta(
474-
days=distance_datespanset_datespan(self._inner, other._inner)
474+
days=distance_datespan_datespan(self._inner, other._inner)
475475
)
476476
elif isinstance(other, DateSpanSet):
477477
return timedelta(

0 commit comments

Comments
 (0)