Skip to content

Commit

Permalink
Change numpy types to avoid deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
fabmazz committed Jun 23, 2023
1 parent df0751e commit 73d5dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/data_load.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def save_json(obj,file_,indent=1):
ALL_EPI = "all_epidemies"

NAMES_COLS_CONTACTS = ["t","i","j","lambda"]
CONTACTS_DTYPES = dict(zip(NAMES_COLS_CONTACTS,(np.int,np.int,np.int,np.float) ))
CONTACTS_DTYPES = dict(zip(NAMES_COLS_CONTACTS,(np.int_,np.int_,np.int_,np.float_) ))



Expand Down

0 comments on commit 73d5dba

Please sign in to comment.