Skip to content

Commit 2eb8d77

Browse files
committed
Replace math.inf with float('inf')
1 parent 5d56cf5 commit 2eb8d77

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

games.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from utils import * # noqa
99

10-
infinity = math.inf
10+
infinity = float('inf')
1111

1212
# ______________________________________________________________________________
1313
# Minimax Search

tests/test_games.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import pytest
22
import collections
3-
import math
43
from games import *
54

65
# Creating the games

0 commit comments

Comments
 (0)