Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
18b4e8be
Commit
18b4e8be
authored
Nov 02, 2021
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix and new procedures.
parent
a80a91e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/misc/vec/vecInt.h
+4
-4
No files found.
src/misc/vec/vecInt.h
View file @
18b4e8be
...
@@ -1953,9 +1953,9 @@ static inline void Vec_IntTwoMerge1( Vec_Int_t * vArr1, Vec_Int_t * vArr2 )
...
@@ -1953,9 +1953,9 @@ static inline void Vec_IntTwoMerge1( Vec_Int_t * vArr1, Vec_Int_t * vArr2 )
if
(
*
pBeg1
==
*
pBeg2
)
if
(
*
pBeg1
==
*
pBeg2
)
*
pBeg
++
=
*
pBeg1
++
,
pBeg2
++
;
*
pBeg
++
=
*
pBeg1
++
,
pBeg2
++
;
else
if
(
*
pBeg1
<
*
pBeg2
)
else
if
(
*
pBeg1
<
*
pBeg2
)
*
pBeg1
++
;
pBeg1
++
;
else
else
*
pBeg2
++
;
pBeg2
++
;
}
}
assert
(
vArr1
->
nSize
>=
pBeg
-
vArr1
->
pArray
);
assert
(
vArr1
->
nSize
>=
pBeg
-
vArr1
->
pArray
);
vArr1
->
nSize
=
pBeg
-
vArr1
->
pArray
;
vArr1
->
nSize
=
pBeg
-
vArr1
->
pArray
;
...
@@ -1982,11 +1982,11 @@ static inline void Vec_IntTwoRemove1( Vec_Int_t * vArr1, Vec_Int_t * vArr2 )
...
@@ -1982,11 +1982,11 @@ static inline void Vec_IntTwoRemove1( Vec_Int_t * vArr1, Vec_Int_t * vArr2 )
while
(
pBeg1
<
pEnd1
&&
pBeg2
<
pEnd2
)
while
(
pBeg1
<
pEnd1
&&
pBeg2
<
pEnd2
)
{
{
if
(
*
pBeg1
==
*
pBeg2
)
if
(
*
pBeg1
==
*
pBeg2
)
*
pBeg1
++
,
pBeg2
++
;
pBeg1
++
,
pBeg2
++
;
else
if
(
*
pBeg1
<
*
pBeg2
)
else
if
(
*
pBeg1
<
*
pBeg2
)
*
pBeg
++
=
*
pBeg1
++
;
*
pBeg
++
=
*
pBeg1
++
;
else
else
*
pBeg2
++
;
pBeg2
++
;
}
}
while
(
pBeg1
<
pEnd1
)
while
(
pBeg1
<
pEnd1
)
*
pBeg
++
=
*
pBeg1
++
;
*
pBeg
++
=
*
pBeg1
++
;
...
...
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