Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-solvers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
agnumpde
dune-solvers
Commits
28bac71b
Commit
28bac71b
authored
15 years ago
by
Oliver Sander
Committed by
sander@FU-BERLIN.DE
15 years ago
Browse files
Options
Downloads
Patches
Plain Diff
minor bugfix: stack variable wasn't initialized
[[Imported from SVN: r3317]]
parent
0b94cd4b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/solvers/common/permutationmanager.hh
+4
-6
4 additions, 6 deletions
dune/solvers/common/permutationmanager.hh
with
4 additions
and
6 deletions
dune/solvers/common/permutationmanager.hh
+
4
−
6
View file @
28bac71b
...
...
@@ -308,18 +308,16 @@ public:
int
block
[
max_size
];
int
block_counter
=
-
1
;
CoordinateType
buffer_coordinate
;
// Initialize to a coordinate that doesn't occur in the grid
CoordinateType
buffer_coordinate
(
std
::
numeric_limits
<
double
>::
infinity
());
for
(
int
i
=
0
;
i
<
max_size
;
++
i
)
{
bool
coordinates_partially_equal
=
true
;
for
(
int
d
=
0
;
d
<
dim
;
++
d
)
{
if
(
!
(
d
==
axis_of_anisotropy_
))
{
if
(
!
(
buffer_coordinate
[
d
]
==
node_list_
[
i
].
get_global_coordinate
()[
d
])
)
{
coordinates_partially_equal
=
false
;
}
}
if
(
d
!=
axis_of_anisotropy_
and
buffer_coordinate
[
d
]
!=
node_list_
[
i
].
get_global_coordinate
()[
d
]
)
coordinates_partially_equal
=
false
;
}
if
(
coordinates_partially_equal
==
true
)
...
...
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