Skip to content
Snippets Groups Projects
Commit 88de02d5 authored by Didi Hou's avatar Didi Hou Committed by Administrator
Browse files

use float as np.float deprecated

parent 9620726f
No related branches found
No related tags found
No related merge requests found
...@@ -698,7 +698,7 @@ def compute_Model_params(out_label='', mode='default'): ...@@ -698,7 +698,7 @@ def compute_Model_params(out_label='', mode='default'):
# if there is laminar data in CoCoMac, use this # if there is laminar data in CoCoMac, use this
if Coco_Data[target_area][source_area]['target_pattern'] is not None: if Coco_Data[target_area][source_area]['target_pattern'] is not None:
tp = np.array(Coco_Data[target_area][source_area][ 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 # 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 # the termination pattern induced by hierarchy and insert a 2 if
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment