use const &

release/4.3a0
Frank Dellaert 2022-01-30 14:02:29 -05:00
parent 88e3330d27
commit 1d8a4563c9
1 changed files with 5 additions and 5 deletions

View File

@ -208,8 +208,8 @@ std::map<size_t, Point2> parseVariables<Point2>(const std::string &filename,
/* ************************************************************************* */
// Interpret noise parameters according to flags
static SharedNoiseModel
createNoiseModel(const Vector6 v, bool smart, NoiseFormat noiseFormat,
static SharedNoiseModel createNoiseModel(
const Vector6 &v, bool smart, NoiseFormat noiseFormat,
KernelFunctionType kernelFunctionType) {
if (noiseFormat == NoiseFormatAUTO) {
// Try to guess covariance matrix layout