-
-
Notifications
You must be signed in to change notification settings - Fork 55
Description
In several pieces of code, an array of a constant value is created by something like
Q = np.ones((num_nodes, num_nodes))
Q = Q * np.infThis can be simplified with np.full:
Q = np.full((num_nodes, num_nodes), np.inf)Metadata
Metadata
Assignees
Labels
No labels