Skip to content
Snippets Groups Projects

Make ParameterSet store covariance as optional instead of pointer

Merged Paul Gessinger requested to merge parameter-cov-optional into master
3 files
+ 5
5
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -310,7 +310,7 @@ class ParameterSet {
*
* @return raw pointer to covariance matrix (can be a nullptr)
*/
const std::optional<CovMatrix_t> getCovariance() const {
const std::optional<CovMatrix_t>& getCovariance() const {
return m_optCovariance;
}
Loading