Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove numba for matrix_data_corr_levels_cat_matrix to handle python 3.10 without bugs #516

Closed
wants to merge 1 commit into from

Conversation

Paul-Saves
Copy link
Contributor

@Paul-Saves Paul-Saves commented Feb 21, 2024

jbussemaker/SBArchOpt#18 for more infos

ERROR WAS :

(375 durations < 0.005s hidden. Use -vv to show these durations.)
=========================== short test summary info ============================
FAILED sb_arch_opt/tests/algo/test_arch_sbo.py::test_smt_krg_features - numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
No implementation of function Function() found for signature:

setitem(array(float64, 2d, C), UniTuple(int64 x 2), array(float64, 1d, C))

There are 16 candidate implementations:
- Of which 16 did not match due to:
Overload of function 'setitem': File: : Line N/A.
With argument(s): '(array(float64, 2d, C), UniTuple(int64 x 2), array(float64, 1d, C))':
No match.

During: typing of setitem at /opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/smt/utils/kriging.py (1565)

File "../../../../../opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/smt/utils/kriging.py", line 1565:
def matrix_data_corr_levels_cat_matrix(

else:
Theta_mat[j, k + j] = theta_cat[v]
^

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.

1 participant