Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void sieve(double[] diffProbs) {
- for (int i = 0; i < diffProbs.length; i++) {
- if (diffProbs[i] < threshold) {
- diffProbs[i] = -1; //any negative value will be suitable
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement