Macro argmin::check_param
source ยท macro_rules! check_param { ($param:expr, $msg:expr, $error:ident) => { ... }; ($param:expr, $msg:expr) => { ... }; }
Expand description
Release an T
from an Option<T>
if it is not None
. If it is None
, return an
ArgminError
with a provided message.