Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
multi-area-model
Manage
Activity
Members
Labels
Plan
Issues
7
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IAS-6
multi-area-model
Commits
88de02d5
Commit
88de02d5
authored
1 year ago
by
Didi Hou
Committed by
Administrator
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
use float as np.float deprecated
parent
9620726f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
multiarea_model/data_multiarea/Model.py
+1
-1
1 addition, 1 deletion
multiarea_model/data_multiarea/Model.py
with
1 addition
and
1 deletion
multiarea_model/data_multiarea/Model.py
+
1
−
1
View file @
88de02d5
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment