Skip to content

Commit

Permalink
Merge pull request #65 from didi-hou/np.float_deprecated
Browse files Browse the repository at this point in the history
Fix the bug due to deprecation of np.float
  • Loading branch information
shimoura authored Mar 27, 2024
2 parents 861cb37 + 8d8d810 commit 6a44b45
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 @@ -646,7 +646,7 @@ def num_CC_synapses(target_area, target_pop, source_area, source_pop):
# if there is laminar information in CoCoMac, use it
if Coco_Data[target_area][source_area]['source_pattern'] is not None:
sp = np.array(Coco_Data[target_area][source_area][
'source_pattern'], dtype=np.float)
'source_pattern'], dtype=float)

# Manually determine SLN, based on CoCoMac:
# from supragranular, then SLN=0.,
Expand Down

0 comments on commit 6a44b45

Please sign in to comment.