Skip to content

Commit 2ef74cb

Browse files
committed
Small fix
1 parent 2373595 commit 2ef74cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygfunction/borefield.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def __add__(self,
111111
other_field: Union[Borehole, List[Borehole], Self]) -> Self:
112112
"""Add two borefields together"""
113113
if isinstance(other_field, Borehole):
114-
return Borefield.from_boreholes(self.to_boreholes() + other_field)
114+
return Borefield.from_boreholes(self.to_boreholes() + [other_field])
115115
if isinstance(other_field, list):
116116
return Borefield.from_boreholes(self.to_boreholes() + other_field)
117117
return Borefield.from_boreholes(self.to_boreholes() + other_field.to_boreholes())

0 commit comments

Comments
 (0)