Skip to content
Merged
Show file tree
Hide file tree
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/loadbearing_wall/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The wall model is parameterizable and can represent any material
"""

__version__ = "0.4.0"
__version__ = "0.4.1"

from loadbearing_wall.wall_model import LinearWallModel
from loadbearing_wall import *
3 changes: 2 additions & 1 deletion src/loadbearing_wall/geom_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ def apply_minimum_width(
Load locations between zero/wall_length and half of the
spread_width will be linearly interpolated.
"""
assert spread_width <= wall_length
if spread_width > wall_length:
spread_width = wall_length
if location <= spread_width / 2:
projected_x0 = 0
projected_x1 = location + spread_width / 2
Expand Down