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
9dd56105
Commit
9dd56105
authored
Nov 21, 2014
by
Lynn Garren
Browse files
a couple of fixes for older compilers
parent
b5701995
Changes
5
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
9dd56105
2014-11-21 Lynn Garren <garren@fnal.gov>
* Utility/Utility/memory.h: fix a type mismatch
* GenericFunctions/src/DefiniteIntegral.cc: explicit initialization
2014-11-20 Lynn Garren <garren@fnal.gov>
* Random/src/RanshiEngine.cc: use a pragma to ignore aggressive 32bit compiler warnings
...
...
GenericFunctions/ChangeLog
View file @
9dd56105
2014-11-21 Lynn Garren <garren@fnal.gov>
* src/DefiniteIntegral.cc: explicit initialization
==============================
18.08.14 Release CLHEP-2.2.0.3
==============================
...
...
GenericFunctions/src/DefiniteIntegral.cc
View file @
9dd56105
...
...
@@ -168,7 +168,7 @@ namespace Genfun {
s
[
j
]
=
rule
->
integrate
(
function
,
c
->
a
,
c
->
b
,
j
);
c
->
nFunctionCalls
=
rule
->
numFunctionCalls
();
if
(
j
>=
c
->
K
)
{
double
ss
,
dss
;
double
ss
(
0.
)
,
dss
(
0.
)
;
c
->
polint
(
h
.
begin
()
+
j
-
c
->
K
,
s
.
begin
()
+
j
-
c
->
K
,
0.0
,
ss
,
dss
);
if
(
fabs
(
dss
)
<=
c
->
EPS
*
fabs
(
ss
))
{
delete
rule
;
...
...
Utility/ChangeLog
View file @
9dd56105
2014-11-21 Lynn Garren <garren@fnal.gov>
* Utility/memory.h: fix a type mismatch
==============================
18.08.14 Release CLHEP-2.2.0.3
==============================
...
...
Utility/Utility/memory.h
View file @
9dd56105
...
...
@@ -154,7 +154,7 @@ bool
abstract_ctrl_block
::
add_ref_lock
()
// true on success
{
class_invariant
();
return
n_shared_ptrs
?
++
n_shared_ptrs
:
false
;
return
n_shared_ptrs
?
(
++
n_shared_ptrs
!=
0
)
:
false
;
}
void
...
...
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