IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
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
Model registry
Operate
Environments
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
Air Shower Physics
corsika
Merge requests
!484
Catch negative step lengths in proposal::ContinuousProcess::getMaxStepLength
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Catch negative step lengths in proposal::ContinuousProcess::getMaxStepLength
catch_negative_maxsteplength
into
master
Overview
1
Commits
2
Pipelines
6
Changes
1
Merged
Jean-Marco Alameddine
requested to merge
catch_negative_maxsteplength
into
master
2 years ago
Overview
1
Commits
2
Pipelines
6
Changes
1
Expand
Related to
#563 (closed)
Catch negative step lengths.
0
0
Merge request reports
Compare
master
version 2
a60bb85a
2 years ago
version 1
3ff2e344
2 years ago
master (base)
and
latest version
latest version
d73af972
2 commits,
2 years ago
version 2
a60bb85a
1 commit,
2 years ago
version 1
3ff2e344
1 commit,
2 years ago
1 file
+
7
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
corsika/detail/modules/proposal/ContinuousProcess.inl
+
7
−
0
Options
@@ -157,6 +157,13 @@ namespace corsika::proposal {
vP
.
getNode
()
->
getModelProperties
().
getArclengthFromGrammage
(
track
,
grammage
);
CORSIKA_LOG_TRACE
(
"PROPOSAL::getMaxStepLength X={} g/cm2, l={} m "
,
grammage
/
1
_g
*
square
(
1
_cm
),
dist
/
1
_m
);
if
(
dist
<
0
_m
)
{
CORSIKA_LOG_WARN
(
"PROPOSAL::getMaxStepLength calculated a negative step length of l={} m. "
"Return 0_m instead."
,
dist
/
1
_m
);
return
0
_m
;
}
return
dist
;
}
Loading