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

Permutation and IntegerMapGenotype tests and changes #2

Merged
merged 4 commits into from Feb 15, 2018

Conversation

FedorSmirnov89
Copy link
Member

No description provided.

@coveralls
Copy link

coveralls commented Feb 10, 2018

Coverage Status

Coverage increased (+5.3%) to 14.864% when pulling c5e6bdb on FedorSmirnovUdacity:master into 6c309bd on felixreimann:master.

@@ -68,6 +70,13 @@
*/
public IntegerMapGenotype(List<K> list, Bounds<Integer> bounds) {
super(bounds);
Set<K> uniqueKeys = new HashSet<K>();
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would you please use
Set<K> uniqueKeys = new HashSet<K>(list);
Then, the for loop in line 74-76 is not neccessary anymore.

@felixreimann felixreimann merged commit 18a5dcb into SDARG:master Feb 15, 2018
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.

None yet

3 participants