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
91b265c6
Commit
91b265c6
authored
Jun 12, 2019
by
Lynn Garren
Browse files
CLHEP-154
initialize sigmas before calling prepareUsigmas
parent
63189087
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
91b265c6
2019-06-11 Lynn Garren <garren@fnal.gov>
* RandomObjects/src/RandMultiGauss.cc:
initialize sigmas before calling prepareUsigmas
* for CLHEP-154
==============================
11.06.18 Release CLHEP-2.4.1.0
==============================
...
...
RandomObjects/ChangeLog
View file @
91b265c6
2019-06-11 Lynn Garren <garren@fnal.gov>
* RandomObjects/src/RandMultiGauss.cc:
initialize sigmas before calling prepareUsigmas
* for CLHEP-154
==============================
11.06.18 Release CLHEP-2.4.1.0
==============================
...
...
RandomObjects/src/RandMultiGauss.cc
View file @
91b265c6
...
...
@@ -220,7 +220,7 @@ HepVector RandMultiGauss::fire() {
HepVector
RandMultiGauss
::
fire
(
const
HepVector
&
mu
,
const
HepSymMatrix
&
S
)
{
HepMatrix
U
;
HepVector
sigmas
;
HepVector
sigmas
(
mu
.
num_row
())
;
if
(
mu
.
num_row
()
==
S
.
num_row
())
{
prepareUsigmas
(
S
,
U
,
sigmas
);
...
...
@@ -260,7 +260,7 @@ void RandMultiGauss::fireArray( const int size, HepVector* array,
// on that U and sigmas.
HepMatrix
U
;
HepVector
sigmas
;
HepVector
sigmas
(
mu
.
num_row
())
;
HepVector
mu_
(
mu
);
if
(
mu
.
num_row
()
==
S
.
num_row
())
{
...
...
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