Skip to content

Commit 48f837c

Browse files
authored
Fix formatting of variable declarations in correlation method
1 parent 1ef23b2 commit 48f837c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/thealgorithms/maths/Correlation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ private Correlation() {
2121
* @return The result of the correlation of variables x,y.
2222
*/
2323
public static double correlation(double[] x, double[] y, int n) {
24-
double exy = 0;
25-
double ex = 0;
24+
double exy = 0;
25+
double ex = 0;
2626
double exx = 0;
2727
double ey = 0;
2828
double eyy = 0;

0 commit comments

Comments
 (0)