Skip to content

Commit

Permalink
fix compareTo function problem
Browse files Browse the repository at this point in the history
  • Loading branch information
jsksxs360 committed Mar 11, 2017
1 parent 246d0c9 commit c77bf4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/ansj/vec/domain/Neuron.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public int compareTo(Neuron neuron) {
} else if (this.category > neuron.category) {
return 1;
} else {
return 0;
return -1;
}
}
}

0 comments on commit c77bf4a

Please sign in to comment.