Skip to content

Commit

Permalink
Merge pull request #70 from didi-hou/master
Browse files Browse the repository at this point in the history
fix np.float deprecated
  • Loading branch information
shimoura authored Mar 28, 2024
2 parents 9620726 + 88de02d commit 1b1d1c6
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 1b1d1c6

Please sign in to comment.