We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2373595 commit 2ef74cbCopy full SHA for 2ef74cb
pygfunction/borefield.py
@@ -111,7 +111,7 @@ def __add__(self,
111
other_field: Union[Borehole, List[Borehole], Self]) -> Self:
112
"""Add two borefields together"""
113
if isinstance(other_field, Borehole):
114
- return Borefield.from_boreholes(self.to_boreholes() + other_field)
+ return Borefield.from_boreholes(self.to_boreholes() + [other_field])
115
if isinstance(other_field, list):
116
return Borefield.from_boreholes(self.to_boreholes() + other_field)
117
return Borefield.from_boreholes(self.to_boreholes() + other_field.to_boreholes())
0 commit comments