Loss function API
Adapt to new API for loss function in factors (MR 331 in core):
-
Factors: constructor (and emplace) does not have
processor_ptr
andapply_loss_function
default values anymore. -
Processors: new
apply_loss_function
inParamsProcessorBase
to be used when emplacing factors. -
YAML: add parameter
apply_loss_function
for processors (false
)