Skip to content

numpy 2: trapz -- trapazoid#49

Open
kilojoules wants to merge 6 commits intomainfrom
fix-wayve-trapz
Open

numpy 2: trapz -- trapazoid#49
kilojoules wants to merge 6 commits intomainfrom
fix-wayve-trapz

Conversation

@kilojoules
Copy link
Member

No description provided.

@SchmJo
Copy link
Contributor

SchmJo commented Feb 23, 2026

The wayve test passes in Python 3.10 but fails in 3.11, strange

@SchmJo
Copy link
Contributor

SchmJo commented Feb 23, 2026

The error comes from wayve, not from WIFA. trapz is called there:

.venv/lib/python3.11/site-packages/wayve/apm_tools.py:248: in height_average
    integral = np.trapz(u_select, x=z_select, axis=-1) / (z_select[-1] - z_select[0])

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

Successfully merging this pull request may close these issues.

2 participants