Skip to content

Commit

Permalink
Change dtype to np.float64 in _polynomial_features.
Browse files Browse the repository at this point in the history
  • Loading branch information
segsell committed Nov 4, 2022
1 parent 3007783 commit 7ed4c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/estimagic/optimization/tranquilo/fit_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ def _polynomial_features(x, has_squares):
else:
n_poly_terms = n_interactions(n_params)

poly_terms = np.empty((n_poly_terms, n_samples), float)
poly_terms = np.empty((n_poly_terms, n_samples), np.float64)
xt = x.T

idx = 0
Expand Down

0 comments on commit 7ed4c76

Please sign in to comment.