Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ assign_err() [2/2]

template<size_t NestedIndex, typename Scalar , typename... TArgs>
void stan::math::internal::assign_err ( std::tuple< TArgs... > &  args_tuple,
Scalar  err 
)
inline

Utility function for replacing a value with a specified error value, overload for use when the value is stored within a tuple.

Template Parameters
NestedIndexindex of element in tuple to be replaced
Scalartype of error to replace
TArgstype of arguments to be replaced
Parameters
args_tupleargument tuple to be replaced
errargument to replace

Definition at line 608 of file wiener5_lpdf.hpp.