Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
INMOST
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Terekhov
INMOST
Commits
6221a9a5
Commit
6221a9a5
authored
Dec 14, 2017
by
Kirill Terekhov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Faster structures for nonlocal elements in RowMerger
parent
d5238a96
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Source/Solver/sparse.cpp
Source/Solver/sparse.cpp
+2
-2
No files found.
Source/Solver/sparse.cpp
View file @
6221a9a5
...
...
@@ -194,7 +194,7 @@ namespace INMOST
{
if
(
pos
<
IntervalBeg
)
{
return
ENUMUNDEF
;
//
return ENUMUNDEF;
//assert(!NonlocalPre.empty()); //there are indices provided
std
::
vector
<
INMOST_DATA_ENUM_TYPE
>::
const_iterator
search
=
std
::
lower_bound
(
NonlocalPre
.
begin
(),
NonlocalPre
.
end
(),
pos
);
//assert(*search == pos); //is there such index?
...
...
@@ -205,7 +205,7 @@ namespace INMOST
}
else
if
(
pos
>=
IntervalEnd
)
{
return
ENUMUNDEF
;
//
return ENUMUNDEF;
//assert(!NonlocalPost.empty()); //there are indices provided
std
::
vector
<
INMOST_DATA_ENUM_TYPE
>::
const_iterator
search
=
std
::
lower_bound
(
NonlocalPost
.
begin
(),
NonlocalPost
.
end
(),
pos
);
//assert(*search == pos); //is there such index?
...
...
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