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
vidjil
vidjil
Commits
6ac0cfa3
Commit
6ac0cfa3
authored
Nov 05, 2014
by
Mikaël Salson
Browse files
KMerAffect: Use AFFECT_UNKNOWN_SYMBOL and AFFECT_AMBIGUOUS_SYMBOL constants
parent
3de733a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
algo/core/kmeraffect.cpp
View file @
6ac0cfa3
...
...
@@ -50,9 +50,9 @@ bool operator!=(const affect_t &a1, const affect_t &a2) {
string
toString
(
const
affect_t
&
a
)
{
string
result
;
if
(
a
==
AFFECT_UNKNOWN
)
result
=
"
_
"
;
result
=
" "
AFFECT_UNKNOWN_SYMBOL
;
else
if
(
a
==
AFFECT_AMBIGUOUS
)
result
=
"
?
"
;
result
=
" "
AFFECT_AMBIGUOUS_SYMBOL
;
else
result
=
(
affect_strand
(
a
)
==
1
?
"+"
:
"-"
)
+
string
(
1
,
affect_char
(
a
));
return
result
;
...
...
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