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
Commits
71160966
Commit
71160966
authored
2 years ago
by
Maximilian Reininghaus
Browse files
Options
Downloads
Patches
Plain Diff
fixed bug in code_generator.py (trailing "_")
parent
242c1280
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!427
Resolve "upgrade pythia to version 8.3xx"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/framework/core/code_generator.py
+1
-1
1 addition, 1 deletion
src/framework/core/code_generator.py
with
1 addition
and
1 deletion
src/framework/core/code_generator.py
+
1
−
1
View file @
71160966
...
@@ -149,7 +149,7 @@ def c_identifier_camel(name):
...
@@ -149,7 +149,7 @@ def c_identifier_camel(name):
break
break
else
:
else
:
name
=
tmp
name
=
tmp
name
.
strip
(
"
_
"
)
name
=
name
.
strip
(
"
_
"
)
# remove all "_", if this does not by accident concatenate two numbers
# remove all "_", if this does not by accident concatenate two numbers
istart
=
0
istart
=
0
...
...
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