Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Algorithms Library Toolkit Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Container Registry
Model registry
Monitor
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Algorithms Library Toolkit
Algorithms Library Toolkit Core
Commits
95edae90
Commit
95edae90
authored
5 years ago
by
Jan Trávníček
Browse files
Options
Downloads
Patches
Plain Diff
some more size_ts
parent
8d4aa7ff
No related branches found
No related tags found
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
alib2algo/src/tree/properties/BadCharacterShiftTable.h
+1
-1
1 addition, 1 deletion
alib2algo/src/tree/properties/BadCharacterShiftTable.h
alib2data/src/common/SparseBoolVector.hpp
+1
-1
1 addition, 1 deletion
alib2data/src/common/SparseBoolVector.hpp
with
2 additions
and
2 deletions
alib2algo/src/tree/properties/BadCharacterShiftTable.h
+
1
−
1
View file @
95edae90
...
...
@@ -79,7 +79,7 @@ ext::map < common::ranked_symbol < SymbolType, RankType >, size_t > BadCharacter
}
// limit the shift by position of symbols within the pattern
for (
unsigned
i = 0; i < pattern.getContent ( ).size ( ) - 1; i++ ) { // last symbol is not concerned
for (
size_t
i = 0; i < pattern.getContent ( ).size ( ) - 1; i++ ) { // last symbol is not concerned
if ( pattern.getContent ( )[i] == pattern.getSubtreeWildcard ( ) || pattern.getNonlinearVariables ( ).count ( pattern.getContent ( )[i] ) || pattern.getContent ( )[i] == pattern.getVariablesBar ( ) )
continue;
...
...
This diff is collapsed.
Click to expand it.
alib2data/src/common/SparseBoolVector.hpp
+
1
−
1
View file @
95edae90
...
...
@@ -320,7 +320,7 @@ public:
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
out
,
const
common
::
SparseBoolVector
::
element
&
elem
)
{
out
<<
"("
<<
elem
.
run
<<
", "
;
for
(
unsigned
i
=
0
;
i
<
sizeof
(
elem
.
word
)
*
BITS_IN_BYTE
;
++
i
)
for
(
size_t
i
=
0
;
i
<
sizeof
(
elem
.
word
)
*
BITS_IN_BYTE
;
++
i
)
out
<<
(
bool
)
(
elem
.
word
&
1u
<<
i
);
out
<<
")"
;
return
out
;
...
...
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