Skip to content

Commit bb3b749

Browse files
authored
correcting issue #82
1 parent f368f35 commit bb3b749

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hydra/FCN.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ class FCN<Estimator<PDF,Iterator>>: public ROOT::Minuit2::FCNBase
395395

396396
FCN(FCN<Estimator<PDF,Iterator>> const& other):
397397
ROOT::Minuit2::FCNBase(other),
398+
fDataSize(other.GetDataSize()),
398399
fPDF(other.GetPDF()),
399400
fBegin(other.GetBegin()),
400401
fEnd(other.GetEnd()),
@@ -412,6 +413,7 @@ class FCN<Estimator<PDF,Iterator>>: public ROOT::Minuit2::FCNBase
412413
if( this==&other ) return this;
413414

414415
ROOT::Minuit2::FCNBase::operator=(other);
416+
fDataSize = other.GetDataSize();
415417
fPDF = other.GetPDF();
416418
fBegin = other.GetBegin();
417419
fEnd = other.GetEnd();

0 commit comments

Comments
 (0)