diff --git a/gtsam/nonlinear/Values.h b/gtsam/nonlinear/Values.h index e48b11b32..041aa3441 100644 --- a/gtsam/nonlinear/Values.h +++ b/gtsam/nonlinear/Values.h @@ -276,8 +276,8 @@ namespace gtsam { void update(Key j, const Value& val); /** Templated version to update a variable with the given j, - * throws KeyAlreadyExists if j is already present - * if no chart is specified, the DefaultChart is used + * throws KeyDoesNotExist if j is not present. + * If no chart is specified, the DefaultChart is used. */ template void update(Key j, const T& val);