Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
19482d67
Commit
19482d67
authored
2 years ago
by
Paul Gessinger
Committed by
Andre Sailer
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update addVariantParameters.cpp
parent
3f5f32af
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DDRec/src/plugins/addVariantParameters.cpp
+1
-1
1 addition, 1 deletion
DDRec/src/plugins/addVariantParameters.cpp
with
1 addition
and
1 deletion
DDRec/src/plugins/addVariantParameters.cpp
+
1
−
1
View file @
19482d67
...
...
@@ -89,7 +89,7 @@ static long addVariantParameters(Detector& description, int argc, char** argv) {
extension
->
variantParameters
[
key
]
=
value
;
}
else
if
(
type
==
"double"
)
{
extension
->
variantParameters
[
key
]
=
dd4hep
:
_toDouble
(
value
);
extension
->
variantParameters
[
key
]
=
dd4hep
:
:
_toDouble
(
value
);
}
else
if
(
type
==
"int"
)
{
extension
->
variantParameters
[
key
]
=
dd4hep
::
_toInt
(
value
);
...
...
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