-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't test with a test stub when there's a function that does the sam…
…e thing (#2735) Summary: Pull Request resolved: #2735 Context: * There is a `get_sobol_benchmark_method` test stub, which is not needed when a Sobol benchmark method is provided, also called `get_sobol_benchmark_method`. It is better to test that function. * The latter `get_sobol_benchmark_method` requires an argument `distribute_replications`. (Making this mandatory was an intentional choice, because it is easy to forget it.) This diff: * Gets rid of the test stub and uses the non-stub version instead * Adds `distribute_replications` in a bunch of places. I chose `False` arbitrarily since the argument will have no effect here. Reviewed By: saitcakmak Differential Revision: D62157106 fbshipit-source-id: 9d6ef4e609502fc94d09be31aa31b1dd7325b111
- Loading branch information
1 parent
6b1b0a4
commit ac3a7ec
Showing
2 changed files
with
13 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters