Skip to content

fix: correct tilt_interp parameter type in compute_tilt_angles_for_fl…#1192

Merged
misi9170 merged 3 commits into
NatLabRockies:developfrom
zredb:master
May 13, 2026
Merged

fix: correct tilt_interp parameter type in compute_tilt_angles_for_fl…#1192
misi9170 merged 3 commits into
NatLabRockies:developfrom
zredb:master

Conversation

@zredb
Copy link
Copy Markdown

@zredb zredb commented May 13, 2026

…oating_turbines

  • Change tilt_interp parameter type from dict[str, interp1d] to interp1d|None
  • This aligns with the function's actual usage where it expects a single interpolation function or None

misi9170 and others added 3 commits February 24, 2026 08:12
…oating_turbines

- Change tilt_interp parameter type from dict[str, interp1d] to interp1d|None
- This aligns with the function's actual usage where it expects a single interpolation function or None
@misi9170
Copy link
Copy Markdown
Collaborator

misi9170 commented May 13, 2026

Good catch and thanks for fixing this @zredb ! I've made one very minor formatting change to the type hint, just to match with other type hints that accept a range of types (|). Once tests pass I'll get this merged into develop, and it will appear on the main branch in the next FLORIS release.

@misi9170 misi9170 changed the base branch from main to develop May 13, 2026 15:19
@misi9170 misi9170 merged commit f215ef3 into NatLabRockies:develop May 13, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants