Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BioSeqDataLib
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
domain-world
BioSeqDataLib
Commits
52b1874d
Commit
52b1874d
authored
10 months ago
by
Dr. Carsten Kemena
Browse files
Options
Downloads
Patches
Plain Diff
fixing a problem where domains at position -1 were checked
parent
5487139a
No related branches found
Branches containing commit
Tags
2.0.2
No related merge requests found
Pipeline
#329050
passed with warnings with stage
Stage:
in 2 minutes and 34 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG
+5
-0
5 additions, 0 deletions
CHANGELOG
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
src/domain/DomainArrangement.hpp
+5
-2
5 additions, 2 deletions
src/domain/DomainArrangement.hpp
with
11 additions
and
3 deletions
CHANGELOG
+
5
−
0
View file @
52b1874d
v 2.0.2
=======
* fixed a problem where domain order was checked although only one domain was contained
v 2.0.1
=======
...
...
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
1
−
1
View file @
52b1874d
...
...
@@ -7,7 +7,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
project
(
BioSeqDataLib CXX
)
SET
(
MAJOR_VERSION 2
)
SET
(
MINOR_VERSION 0
)
SET
(
PATCH_VERSION
1
)
SET
(
PATCH_VERSION
2
)
SET
(
CMAKE_CXX_FLAGS_COVERAGE
"-g -O0 --coverage -fprofile-arcs -ftest-coverage -fno-inline -fno-inline-small-functions -fno-default-inline -pedantic -Wall -Wextra"
...
...
This diff is collapsed.
Click to expand it.
src/domain/DomainArrangement.hpp
+
5
−
2
View file @
52b1874d
...
...
@@ -90,9 +90,12 @@ template <typename DomainType> class DomainArrangement {
void
ensureOrderAfterInsertAtEnd
()
{
if
(
domains_
[
domains_
.
size
()
-
1
]
<=
domains_
[
domains_
.
size
()
-
2
]
)
if
(
domains_
.
size
()
>
1
)
{
std
::
ranges
::
sort
(
domains_
);
if
(
domains_
[
domains_
.
size
()
-
1
]
<=
domains_
[
domains_
.
size
()
-
2
])
{
std
::
ranges
::
sort
(
domains_
);
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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