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

warn when num_threads is not used in MinTrace #273

Merged
merged 2 commits into from
Jul 4, 2024
Merged

Conversation

jmoralez
Copy link
Member

@jmoralez jmoralez commented Jul 4, 2024

The num_threads argument of MinTrace is only used when nonnegative=True and solves the optimization problems in parallel, otherwise it's not used. This adds a warning when setting num_threads>1 and nonnegative=False to indicate that the argument won't be used.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@jmoralez jmoralez marked this pull request as ready for review July 4, 2024 18:48
@jmoralez jmoralez merged commit 3817c69 into main Jul 4, 2024
20 checks passed
@jmoralez jmoralez deleted the warn-threads branch July 4, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant