Skip to content

Commit

Permalink
temp commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Tjalling-dejong committed Dec 3, 2024
1 parent 039dc2f commit 00991cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fm2prof/cross_section.py
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ def _check_remove_zero_widths(self, width_array: np.array) -> np.array:
width_array[width_array < minwidth] = minwidth
return width_array

def _combined_optimisation_func(self, opt_in:tuple[float]):
def _combined_optimisation_func(self, opt_in:tuple[float]) -> np.ndarray:
"""Cost function, combines total volume error and flow volume error."""
(crest_level, extra_total_volume, extra_flow_volume) = opt_in
transition_height = self.get_parameter(self.__cs_parameter_transitionheight_sd)
Expand Down

0 comments on commit 00991cf

Please sign in to comment.