Inlined checking functions

maintenance

#1

Hey all,

Looks like most of our checking functions have the inline modifier applied to them with the exception of check_ + (ordered, cholesky_factor_corr, positive_ordered, simplex, unit_vector, ic_consistency). Anyone know why these are considered different and we shouldn’t allow the compiler to inline them?


#2

There’s no good reason. Probably just due to who wrote it and when; at some point, we didn’t really inline functions so much.