Skip to content

Commit

Permalink
updates eplex test to set sizes to ints
Browse files Browse the repository at this point in the history
  • Loading branch information
lacava committed Aug 2, 2017
1 parent c647f16 commit 7df082a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion few/tests/test_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def test_lex_size():
few = FEW(seed_with_ml=False,population_size=257, lex_size=True)

Fitness_mat = np.random.rand(257,10)
size_mat = np.random.rand(257,1)
size_mat = np.random.randint(1,100,size=257)

locs = few.epsilon_lexicase(Fitness_mat,size_mat,num_selections=100,
survival=True)
Expand Down

0 comments on commit 7df082a

Please sign in to comment.