Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bill Lorensen
VTK
Commits
3edbf5ba
Commit
3edbf5ba
authored
Feb 21, 2012
by
George Zagaris
Browse files
BUGFIX: Fix erroneous array access
Change-Id: Ib27c88cf95e9d00e493f22127c40baa6b3018100
parent
df40179e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Examples/AMR/Cxx/Generate2DAMRDataSetWithPulse.cxx
View file @
3edbf5ba
...
...
@@ -83,7 +83,7 @@ int main( int argc, char **argv )
void
SetPulse
()
{
Pulse
.
origin
[
0
]
=
Pulse
.
origin
[
1
]
=
Pulse
.
origin
[
2
]
=
-
1.0
;
Pulse
.
width
[
0
]
=
Pulse
.
width
[
1
]
=
Pulse
.
width
[
3
]
=
6.0
;
Pulse
.
width
[
0
]
=
Pulse
.
width
[
1
]
=
Pulse
.
width
[
2
]
=
6.0
;
Pulse
.
amplitude
=
0.0001
;
}
...
...
Write
Preview
Supports
Markdown
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