Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
VIGNET Pierre
cadbiom
Commits
33799fbd
Commit
33799fbd
authored
Feb 14, 2017
by
VIGNET Pierre
Browse files
Forgotten changes
parent
034e801b
Changes
1
Hide whitespace changes
Inline
Side-by-side
cadbiom/models/clause_constraints/mcl/MCLSolutions.py
View file @
33799fbd
...
...
@@ -202,8 +202,7 @@ class RawSolution(object):
"""
frontiers
=
self
.
__unfolder
.
get_frontier
()
jmax
=
len
(
frontiers
)
fsol
=
[]
sol
=
self
.
__solution
fsol
=
list
()
j
=
0
dec
=
self
.
__shift_step
*
self
.
__current_step
for
i
,
sol
in
enumerate
(
self
.
__solution
):
...
...
@@ -214,7 +213,7 @@ class RawSolution(object):
fsol
.
append
(
sol
)
else
:
if
self
.
__solution
[
i
+
dec
]
>
0
:
fsol
.
append
(
self
.
__solution
[
i
+
dec
])
# look for initial values
fsol
.
append
(
self
.
__solution
[
i
+
dec
])
# look for initial values
j
+=
1
if
j
==
jmax
:
return
fsol
...
...
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