Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CLHEP
CLHEP
Commits
31fc5393
Commit
31fc5393
authored
Nov 20, 2014
by
Lynn Garren
Browse files
supply a default to switch for preferred C++ behavior
parent
12b1c30c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Vector/ChangeLog
View file @
31fc5393
2014-11-20 Lynn Garren <garren@fnal.gov>
* Vector/ThreeVector.icc: inline Hep3Vector::operator () (int i)
==============================
18.08.14 Release CLHEP-2.2.0.3
==============================
...
...
Vector/Vector/ThreeVector.icc
View file @
31fc5393
...
...
@@ -47,8 +47,9 @@ inline double Hep3Vector::operator () (int i) const {
return y();
case Z:
return z();
default:
return 0.;
}
return 0.;
}
inline double & Hep3Vector::operator () (int i) {
...
...
@@ -60,8 +61,9 @@ inline double & Hep3Vector::operator () (int i) {
return dy;
case Z:
return dz;
default:
return dummy;
}
return dummy;
}
// --------------
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment