Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CLHEP
CLHEP
Commits
58f79bb8
Commit
58f79bb8
authored
Feb 02, 2012
by
Lynn Garren
Browse files
get rid of some new warnings from GenericFunctions
parent
00e7b2a4
Changes
5
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
58f79bb8
2012-02-02 Lynn Garren <garren@fnal.gov>
* GenericFunctions/GenericFunctions/ClassicalSolver.hh: make destructor virtual
* GenericFunctions/src/PhaseSpace.cc: fix typo,
GenFun::Variable index() returns unsigned int, not double
* GenericFunctions/src/InterpolatingPolynomial.cc: deal with int comparison
2012-02-02 Lynn Garren <garren@fnal.gov>
* Vector, Geometry, Random, Matrix, Exceptions :
...
...
GenericFunctions/ChangeLog
View file @
58f79bb8
2012-02-02 Lynn Garren <garren@fnal.gov>
* GenericFunctions/ClassicalSolver.hh: make destructor virtual
* src/PhaseSpace.cc: fix typo,
GenFun::Variable index() returns unsigned int, not double
* src/InterpolatingPolynomial.cc: deal with int comparison
==============================
16.12.11 Release CLHEP-2.1.2.0
==============================
...
...
GenericFunctions/GenericFunctions/ClassicalSolver.hh
View file @
58f79bb8
...
...
@@ -33,7 +33,7 @@ namespace Classical {
//
// Destructor:
//
~
Solver
(){};
virtual
~
Solver
(){};
//
// Returns the time evolution for a variable (q_i or p_i)
//
...
...
GenericFunctions/src/InterpolatingPolynomial.cc
View file @
58f79bb8
...
...
@@ -48,7 +48,7 @@ namespace Genfun {
d
[
i
]
=
hp
*
den
;
c
[
i
]
=
ho
*
den
;
}
deltay
=
2
*
(
ns
+
1
)
<
(
_K
-
m
-
1
)
?
c
[
ns
+
1
]
:
d
[
ns
--
];
deltay
=
2
*
(
ns
+
1
)
<
(
int
)
(
_K
-
m
-
1
)
?
c
[
ns
+
1
]
:
d
[
ns
--
];
y
+=
deltay
;
}
return
y
;
...
...
GenericFunctions/src/PhaseSpace.cc
View file @
58f79bb8
...
...
@@ -73,7 +73,7 @@ namespace Classical {
void
PhaseSpace
::
start
(
const
Genfun
::
Variable
&
v
,
double
value
){
double
index
=
v
.
index
();
unsigned
int
index
=
v
.
index
();
if
(
index
<
DIM
)
{
_q0
[
index
]
=
value
;
}
...
...
@@ -85,7 +85,7 @@ namespace Classical {
double
PhaseSpace
::
startValue
(
const
Genfun
::
Variable
&
v
)
const
{
double
index
=
v
.
index
();
unsigned
int
index
=
v
.
index
();
if
(
index
<
DIM
)
{
return
_q0
[
index
];
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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