Skip to content

Commit

Permalink
fixed numpy compatibility issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zStupan authored Jul 26, 2024
1 parent 66d295f commit bc9b895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion niaarm/niaarm.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def __init__(self, dimension, features, transactions, metrics, logging=False):
self.sum_weights = np.sum(self.weights)

self.logging = logging
self.best_fitness = np.NINF
self.best_fitness = -np.inf
self.rules = RuleList()
super().__init__(dimension, 0.0, 1.0)

Expand Down

0 comments on commit bc9b895

Please sign in to comment.