Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
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
Esteban Blanc
proview
Commits
96cb5bc9
Commit
96cb5bc9
authored
Jul 19, 2004
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix in convertObject, param index was used instead of aix to match attributes
parent
04f1d849
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wb/lib/wb/src/wb_cdrep.cpp
wb/lib/wb/src/wb_cdrep.cpp
+2
-2
No files found.
wb/lib/wb/src/wb_cdrep.cpp
View file @
96cb5bc9
...
@@ -527,7 +527,7 @@ void wb_cdrep::convertObject( wb_merep *merep, void *rbody, void *dbody,
...
@@ -527,7 +527,7 @@ void wb_cdrep::convertObject( wb_merep *merep, void *rbody, void *dbody,
bool
found
=
false
;
bool
found
=
false
;
wb_adrep
*
adrep_target
=
bdrep_target
->
adrep
(
&
sts
);
wb_adrep
*
adrep_target
=
bdrep_target
->
adrep
(
&
sts
);
while
(
ODD
(
sts
))
{
while
(
ODD
(
sts
))
{
if
(
adrep_source
->
index
()
==
adrep_target
->
inde
x
())
{
if
(
adrep_source
->
aix
()
==
adrep_target
->
ai
x
())
{
found
=
true
;
found
=
true
;
break
;
break
;
}
}
...
@@ -560,7 +560,7 @@ void wb_cdrep::convertObject( wb_merep *merep, void *rbody, void *dbody,
...
@@ -560,7 +560,7 @@ void wb_cdrep::convertObject( wb_merep *merep, void *rbody, void *dbody,
if
(
cidx
==
conv_eIdx_invalid
)
if
(
cidx
==
conv_eIdx_invalid
)
cidx
=
conv_eIdx_zero
;
/* Zero the attribute */
cidx
=
conv_eIdx_zero
;
/* Zero the attribute */
int
size
;
int
size
=
adrep_target
->
size
()
/
adrep_target
->
nElement
()
;
pwr_mAdef
flags
;
pwr_mAdef
flags
;
flags
.
m
=
adrep_target
->
flags
();
flags
.
m
=
adrep_target
->
flags
();
...
...
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