Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
VIGNET Pierre
cadbiom
Commits
1c5602f6
Commit
1c5602f6
authored
Feb 14, 2017
by
VIGNET Pierre
Browse files
Efficient comprehension list
parent
758a4444
Changes
1
Hide whitespace changes
Inline
Side-by-side
cadbiom/models/clause_constraints/mcl/MCLAnalyser.py
View file @
1c5602f6
...
...
@@ -323,10 +323,10 @@ class MCLAnalyser(object):
@precondition: fsolution is a frontier solution for the query
"""
final_dsol
=
[]
for
var
in
fsolution
.
frontier_valu
es
:
if
var
<
0
:
final_dsol
.
append
([
var
])
# collect inactivated places
# collect inactivated plac
es
final_dsol
=
\
[[
var
]
for
var
in
fsolution
.
frontier_values
if
var
<
0
]
if
query
.
dim_start
:
query
.
set_dim_start
(
final_dsol
+
query
.
dim_start
)
else
:
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment