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
8ee49ff1
Commit
8ee49ff1
authored
Nov 04, 2015
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix in constructing internal choices by 'amap'.
parent
df6c9415
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/map/amap/amapInt.h
+1
-1
No files found.
src/map/amap/amapInt.h
View file @
8ee49ff1
...
@@ -256,7 +256,7 @@ static inline int Amap_ObjLevel( Amap_Obj_t * pObj )
...
@@ -256,7 +256,7 @@ static inline int Amap_ObjLevel( Amap_Obj_t * pObj )
static
inline
void
Amap_ObjSetLevel
(
Amap_Obj_t
*
pObj
,
int
Level
)
{
pObj
->
Level
=
Level
;
}
static
inline
void
Amap_ObjSetLevel
(
Amap_Obj_t
*
pObj
,
int
Level
)
{
pObj
->
Level
=
Level
;
}
static
inline
void
Amap_ObjSetCopy
(
Amap_Obj_t
*
pObj
,
void
*
pCopy
)
{
pObj
->
pData
=
pCopy
;
}
static
inline
void
Amap_ObjSetCopy
(
Amap_Obj_t
*
pObj
,
void
*
pCopy
)
{
pObj
->
pData
=
pCopy
;
}
static
inline
Amap_Obj_t
*
Amap_ObjChoice
(
Amap_Man_t
*
p
,
Amap_Obj_t
*
pObj
)
{
return
pObj
->
Equiv
?
Amap_ManObj
(
p
,
pObj
->
Equiv
)
:
NULL
;
}
static
inline
Amap_Obj_t
*
Amap_ObjChoice
(
Amap_Man_t
*
p
,
Amap_Obj_t
*
pObj
)
{
return
pObj
->
Equiv
?
Amap_ManObj
(
p
,
pObj
->
Equiv
)
:
NULL
;
}
static
inline
void
Amap_ObjSetChoice
(
Amap_Obj_t
*
pObj
,
Amap_Obj_t
*
pEqu
){
assert
(
pObj
->
Equiv
==
0
);
pObj
->
Equiv
=
pEqu
->
Id
;
}
static
inline
void
Amap_ObjSetChoice
(
Amap_Obj_t
*
pObj
,
Amap_Obj_t
*
pEqu
){
assert
(
pObj
->
Equiv
==
0
);
if
(
pObj
->
Id
!=
pEqu
->
Id
)
pObj
->
Equiv
=
pEqu
->
Id
;
}
static
inline
int
Amap_ObjPhaseReal
(
Amap_Obj_t
*
pObj
)
{
return
Amap_Regular
(
pObj
)
->
fPhase
^
Amap_IsComplement
(
pObj
);
}
static
inline
int
Amap_ObjPhaseReal
(
Amap_Obj_t
*
pObj
)
{
return
Amap_Regular
(
pObj
)
->
fPhase
^
Amap_IsComplement
(
pObj
);
}
static
inline
int
Amap_ObjRefsTotal
(
Amap_Obj_t
*
pObj
)
{
return
pObj
->
nFouts
[
0
]
+
pObj
->
nFouts
[
1
];
}
static
inline
int
Amap_ObjRefsTotal
(
Amap_Obj_t
*
pObj
)
{
return
pObj
->
nFouts
[
0
]
+
pObj
->
nFouts
[
1
];
}
...
...
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