Skip to content

Commit

Permalink
implement else action if shapes of rounded and unrounded problems do …
Browse files Browse the repository at this point in the history
…not match
  • Loading branch information
flo-schu authored and schmoelder committed Nov 30, 2023
1 parent f33078b commit 685fe94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CADETProcess/optimization/optimizationProblem.py
Original file line number Diff line number Diff line change
Expand Up @@ -2751,6 +2751,8 @@ def create_initial_values(
chebyshev = chebyshev_rounded
else:
chebyshev = chebyshev_orig
else:
chebyshev = chebyshev_orig

if n_samples == 1 and method == 'chebyshev':
values = np.array(chebyshev_orig, ndmin=2)
Expand Down

0 comments on commit 685fe94

Please sign in to comment.