[Bug 1067] New: Error in Sample<StateVar>Simulated(MeasurementSizeGet());

http://bugs.orocos.org/show_bug.cgi?id=1067

Summary: Error in Sample<StateVar>
Simulated(MeasurementSizeGet());
Product: BFL
Version: 0.8.0
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P3
Component: core
AssignedTo: bfl [..] ...
ReportedBy: klaas [dot] gadeyne [..] ...
CC: bfl [..] ...
Estimated Hours: 0.0

[Reported by Rein A. on the BFL mailinglist]
http://lists.mech.kuleuven.be/pipermail/bfl/2015-July/001279.html

template<typename MeasVar, typename StateVar> MeasVar
MeasurementModel<MeasVar,StateVar>::Simulate(const StateVar& x,
int sampling_method,
void * sampling_args)
{
assert(_systemWithoutSensorParams == true);
_MeasurementPdf->ConditionalArgumentSet(0,x);
!!! Sample<StateVar> Simulated(MeasurementSizeGet());
_MeasurementPdf->SampleFrom(Simulated, sampling_method,sampling_args);
MeasVar result = Simulated.ValueGet();
return result;
}

the Statevar on line !!! should be MeasVar

[Bug 1067] Error in Sample<StateVar>Simulated(MeasurementSizeGet

http://bugs.orocos.org/show_bug.cgi?id=1067

Klaas Gadeyne <klaas [dot] gadeyne [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED