Skip to content
Snippets Groups Projects
Verified Commit 64157d90 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Fix bug in ModelTree::writeParamsDerivativesFileHelper()

Elements of params_derivatives could be accessed without them being defined,
thus causing illegal memory read.

Ensure that these elements always exist. By the way, use std::map::at() instead
of std::map::find() to trigger an exception instead of an illegal memory read
in that case.
parent b403cef8
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment