Skip to content

Numpy deprecation warning #2037

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

Closed
wants to merge 2 commits into from
Closed

Conversation

dme65
Copy link
Contributor

@dme65 dme65 commented Oct 6, 2023

This gets rid of the following warning: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Oct 6, 2023
@codecov
Copy link

codecov bot commented Oct 6, 2023

Codecov Report

Merging #2037 (91e0fb8) into main (5e3677f) will not change coverage.
The diff coverage is 100.00%.

❗ Current head 91e0fb8 differs from pull request most recent head f6a32ff. Consider uploading reports for the commit f6a32ff to get more accurate results

@@            Coverage Diff            @@
##              main     #2037   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          179       179           
  Lines        15889     15889           
=========================================
  Hits         15889     15889           
Files Coverage Δ
botorch/models/model.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@Balandat Balandat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@facebook-github-bot
Copy link
Contributor

@dme65 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@dme65 merged this pull request in 6d330eb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants