IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
corsika
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
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
Pranav Sampathkumar
corsika
Commits
ce99b01e
Commit
ce99b01e
authored
6 years ago
by
ralfulrich
Browse files
Options
Downloads
Patches
Plain Diff
forgot to reset the O2
parent
0e7be95e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
Framework/Cascade/Cascade.h
+1
-1
1 addition, 1 deletion
Framework/Cascade/Cascade.h
with
2 additions
and
2 deletions
CMakeLists.txt
+
1
−
1
View file @
ce99b01e
...
@@ -39,7 +39,7 @@ endif()
...
@@ -39,7 +39,7 @@ endif()
# enable warnings and disallow non-standard language
# enable warnings and disallow non-standard language
set
(
CMAKE_CXX_FLAGS
"-Wall -pedantic -Wextra -Wno-ignored-qualifiers"
)
set
(
CMAKE_CXX_FLAGS
"-Wall -pedantic -Wextra -Wno-ignored-qualifiers"
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"
${
CMAKE_CXX_FLAGS
}
-O0 -g"
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"
${
CMAKE_CXX_FLAGS
}
-O0 -g"
)
set
(
CMAKE_CXX_FLAGS_RELEASE
"
${
CMAKE_CXX_FLAGS
}
-O
2
"
)
set
(
CMAKE_CXX_FLAGS_RELEASE
"
${
CMAKE_CXX_FLAGS
}
-O
0
"
)
# clang produces a lot of unecessary warnings without this:
# clang produces a lot of unecessary warnings without this:
add_compile_options
(
"$<$<CXX_COMPILER_ID:Clang>:-Wno-nonportable-include-path>"
)
add_compile_options
(
"$<$<CXX_COMPILER_ID:Clang>:-Wno-nonportable-include-path>"
)
...
...
This diff is collapsed.
Click to expand it.
Framework/Cascade/Cascade.h
+
1
−
1
View file @
ce99b01e
...
@@ -47,7 +47,7 @@ namespace corsika::cascade {
...
@@ -47,7 +47,7 @@ namespace corsika::cascade {
void
Run
()
{
void
Run
()
{
while
(
!
fStack
.
IsEmpty
())
{
while
(
!
fStack
.
IsEmpty
())
{
while
(
!
fStack
.
IsEmpty
())
{
while
(
!
fStack
.
IsEmpty
())
{
Particle
&
pNext
=
*
fStack
.
GetNextParticle
();
Particle
pNext
=
*
fStack
.
GetNextParticle
();
Step
(
pNext
);
Step
(
pNext
);
}
}
// do cascade equations, which can put new particles on Stack,
// do cascade equations, which can put new particles on Stack,
...
...
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