java tweaks
parent
8f602ffa82
commit
68f2a9d038
|
@ -147,7 +147,7 @@ public class RatingCalculator {
|
|||
|
||||
// step 5.2 - set the initial values of the iterative algorithm to come in step 5.4
|
||||
double A = a;
|
||||
double B = 0.0;
|
||||
double B;
|
||||
if ( Math.pow(delta, 2) > Math.pow(phi, 2) + v ) {
|
||||
B = Math.log( Math.pow(delta, 2) - Math.pow(phi, 2) - v );
|
||||
} else {
|
||||
|
|
|
@ -18,7 +18,6 @@ package org.mindrot;
|
|||
// byte manipulation. Details at https://github.com/isaacl/jbcrypt
|
||||
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.security.SecureRandom;
|
||||
import java.util.Arrays;
|
||||
|
|
Loading…
Reference in New Issue