From 88de02d5fc96d97904d18b49c536cda094ab125e Mon Sep 17 00:00:00 2001 From: didihou Date: Thu, 28 Mar 2024 13:54:18 +0100 Subject: [PATCH] use float as np.float deprecated --- multiarea_model/data_multiarea/Model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multiarea_model/data_multiarea/Model.py b/multiarea_model/data_multiarea/Model.py index 2a7a0f8..e2b9168 100644 --- a/multiarea_model/data_multiarea/Model.py +++ b/multiarea_model/data_multiarea/Model.py @@ -698,7 +698,7 @@ def num_CC_synapses(target_area, target_pop, source_area, source_pop): # if there is laminar data in CoCoMac, use this if Coco_Data[target_area][source_area]['target_pattern'] is not None: tp = np.array(Coco_Data[target_area][source_area][ - 'target_pattern'], dtype=np.float) + 'target_pattern'], dtype=float) # If there is a '?' (=-1) in the data, check if this layer is in # the termination pattern induced by hierarchy and insert a 2 if