Skip to content

Commit

Permalink
Math class name
Browse files Browse the repository at this point in the history
  • Loading branch information
mwunderl committed May 10, 2017
1 parent 7518d69 commit 905b9ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/scorekeep/TicTacToe.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static int toInt(char[] state, char turn) {
int len = state.length;
for ( int i = 1; i <= len; i++ ){
if ( state[len-i] == turn) {
out += java.lang.Math.pow( 2, i-1 );
out += Math.pow( 2, i-1 );
}
}
return out;
Expand Down

0 comments on commit 905b9ff

Please sign in to comment.