Avoid (or not) default implementation of method MeasurementModel::getNoiseCovarianceMatrix
#75
Labels
MeasurementModel::getNoiseCovarianceMatrix
#75
At the moment, there is a default implementation of the virtual method
MeasurementModel::getNoiseCovarianceMatrix() const
bayes-filters-lib/src/BayesFilters/src/MeasurementModel.cpp
Lines 20 to 23 in b178460
If a user implements that method, in a inheriting class, without using the keywords
const
andoverride
, the internal machinery of the library will silently call the default method possibly causing erroneous behaviors. Should we change this to something different, e.g. throwing an exception in the default implementation?@claudiofantacci
The text was updated successfully, but these errors were encountered: