This is a matter of style, rather than correctness. I found the following code in
result = m.inverse (mattyp, info, rcond, 1, 1);
where the function prototype is defined in
inverse (MatrixType& mattype, octave_idx_type& info, double& rcon, bool force = false, bool calc_cond = true) const;
In general, should we be passing a numeric value, 1, when the argument is of type
bool or should we pass
My own preference is to pass
true as this indicates the programmer took a look at the prototype and understood how the function was declared.