Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shear_force method BUG #346

Open
howie12345 opened this issue Nov 28, 2024 · 0 comments
Open

shear_force method BUG #346

howie12345 opened this issue Nov 28, 2024 · 0 comments

Comments

@howie12345
Copy link

        max_force = max(
            map(
                lambda el: np.max(np.abs(el.shear_force or 0.0)),
                self.system.element_map.values(),
            )
        )

in the shear_force function, el.shear_force is a numpy array, el.shear_force or 0.0 will return ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant