Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
graph-tool
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
40
Issues
40
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tiago Peixoto
graph-tool
Commits
5927ad4b
Commit
5927ad4b
authored
Nov 28, 2016
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test_inference.py: Fix some tests using edge covariates
parent
17cfac1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
doc/test_inference.py
doc/test_inference.py
+9
-5
No files found.
doc/test_inference.py
View file @
5927ad4b
...
...
@@ -210,15 +210,19 @@ for pvals in iter_ranges(pranges):
rec_
=
[]
if
rec
==
"real-exponential"
:
rec_
=
rec_p
rec_
=
[
rec_p
]
rec
=
[
rec
]
elif
rec
==
"real-normal"
:
rec_
=
rec_s
rec_
=
[
rec_s
]
rec
=
[
rec
]
else
:
rec
=
[]
if
layered
!=
False
:
state_args
=
dict
(
ec
=
ec
,
layers
=
(
layered
==
True
),
recs
=
[
rec_
]
,
rec_types
=
[
rec
]
)
state_args
=
dict
(
ec
=
ec
,
layers
=
(
layered
==
True
),
recs
=
rec_
,
rec_types
=
rec
)
else
:
state_args
=
dict
(
recs
=
[
rec_
],
rec_types
=
[
rec
]
)
state_args
=
dict
(
recs
=
rec_
,
rec_types
=
rec
)
entropy_args
=
dict
(
exact
=
exact
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment