Skip to content

Commit 08cd0ee

Browse files
Merge pull request #13 from StructuralPython/releases/v0.1.7
hotfix: return correct accumulator
2 parents bf12492 + 54f565e commit 08cd0ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/load_distribution/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
loads on beams or other linear elements.
44
"""
55

6-
__version__ = "0.1.6"
6+
__version__ = "0.1.7"
77

88
from load_distribution.load_distribution import *

src/load_distribution/load_distribution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def singularities_to_polygon(los: list[Singularity], xy: bool = False) -> Polygo
238238
# Always ends on 0.0
239239
y_acc.append(0.0)
240240
if xy:
241-
return x_acc, y_acc
241+
return filtered_x, y_acc
242242
else:
243243
precision = n if n else 2
244244
xy_acc = zip(

0 commit comments

Comments
 (0)