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

Validating the numSims configuration and adjusting it when needed #335

Merged
merged 1 commit into from
Jun 12, 2019

Conversation

ravimandala
Copy link
Contributor

@ravimandala ravimandala commented Jun 12, 2019

Two minor fixes:

  1. Fewer simulators can be used if the number of bundles is less than the number of simulators.
  2. There cannot be fewer than one simulator. Throw an error in case of a bad configuration (before it could possibly result in a divide-by-zero exception here).

\cc @ob

Two minor fixes:
1. Fewer simulators can be used if the number of bundles is less than the number of simulators.
2. There cannot be fewer than one simulator. Throw an error in case of a bad configuration.
Copy link
Member

@ob ob left a comment

Choose a reason for hiding this comment

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

LGTM, thank you for the fixes!

@ob ob merged commit d58bad0 into MobileNativeFoundation:master Jun 12, 2019
@ravimandala ravimandala deleted the bugfix-numsims branch June 12, 2019 17:21
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.

2 participants