@@ -18,7 +18,8 @@ ExpData::ExpData(int const nytrue, int const nztrue, int const nmaxevent)
1818}
1919
2020ExpData::ExpData (
21- int const nytrue, int const nztrue, int const nmaxevent, std::vector<realtype> ts
21+ int const nytrue, int const nztrue, int const nmaxevent,
22+ std::vector<realtype> ts
2223)
2324 : SimulationParameters(ts)
2425 , nytrue_(nytrue)
@@ -28,8 +29,8 @@ ExpData::ExpData(
2829}
2930
3031ExpData::ExpData (
31- int const nytrue, int const nztrue, int const nmaxevent, std::vector<realtype> ts,
32- std::vector<realtype> fixedParameters
32+ int const nytrue, int const nztrue, int const nmaxevent,
33+ std::vector<realtype> ts, std::vector<realtype> fixedParameters
3334)
3435 : SimulationParameters(ts)
3536 , nytrue_(nytrue)
@@ -40,8 +41,8 @@ ExpData::ExpData(
4041}
4142
4243ExpData::ExpData (
43- int const nytrue, int const nztrue, int const nmaxevent, std::vector<realtype> ts,
44- std::vector<realtype> const & observedData,
44+ int const nytrue, int const nztrue, int const nmaxevent,
45+ std::vector<realtype> ts, std::vector<realtype> const & observedData,
4546 std::vector<realtype> const & observedDataStdDev,
4647 std::vector<realtype> const & observedEvents,
4748 std::vector<realtype> const & observedEventsStdDev
@@ -69,7 +70,8 @@ ExpData::ExpData(Model const& model)
6970}
7071
7172ExpData::ExpData (
72- ReturnData const & rdata, realtype const sigma_y, realtype const sigma_z, int const seed
73+ ReturnData const & rdata, realtype const sigma_y, realtype const sigma_z,
74+ int const seed
7375)
7476 : ExpData(
7577 rdata, std::vector<realtype>(rdata.nytrue * rdata.nt, sigma_y),
@@ -261,7 +263,7 @@ void ExpData::setObservedEvents(
261263 observed_events_.at (iz + ie * nztrue_) = observedEvents.at (ie);
262264}
263265
264- bool ExpData::isSetObservedEvents (int const ie, int const iz) const {
266+ bool ExpData::isSetObservedEvents (int const ie, int const iz) const {
265267 return !observed_events_.empty ()
266268 && !isNaN (observed_events_.at (ie * nztrue_ + iz));
267269}
@@ -270,7 +272,7 @@ std::vector<realtype> const& ExpData::getObservedEvents() const {
270272 return observed_events_;
271273}
272274
273- realtype const * ExpData::getObservedEventsPtr (int const ie) const {
275+ realtype const * ExpData::getObservedEventsPtr (int const ie) const {
274276 if (!observed_events_.empty ())
275277 return &observed_events_.at (ie * nztrue_);
276278
@@ -370,7 +372,8 @@ void ExpData::checkDataDimension(
370372void ExpData::checkEventsDimension (
371373 std::vector<realtype> const & input, char const * fieldname
372374) const {
373- if (input.size () != static_cast <unsigned >(nmaxevent_) * nztrue_ && !input.empty ())
375+ if (input.size () != static_cast <unsigned >(nmaxevent_) * nztrue_
376+ && !input.empty ())
374377 throw AmiException (
375378 " Input %s did not match dimensions nt (%i) x nytrue (%i), was %i" ,
376379 fieldname, nmaxevent_, nztrue_, input.size ()
0 commit comments