Skip to content

Commit

Permalink
use float as np.float deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
didi-hou authored and hbp-bot committed Mar 28, 2024
1 parent 9620726 commit 88de02d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multiarea_model/data_multiarea/Model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 88de02d

Please sign in to comment.