Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
CLHEP
CLHEP
Commits
91b265c6
Commit
91b265c6
authored
Jun 12, 2019
by
Lynn Garren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CLHEP-154
initialize sigmas before calling prepareUsigmas
parent
63189087
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
ChangeLog
ChangeLog
+7
-0
RandomObjects/ChangeLog
RandomObjects/ChangeLog
+7
-0
RandomObjects/src/RandMultiGauss.cc
RandomObjects/src/RandMultiGauss.cc
+2
-2
No files found.
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
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