Made mat() correctly convert std::vector<bool> objects to matrices.
Previously, the elements of the vector were returned by reference which is problematic for std::vector<bool>
Showing
Please
register
or
sign in
to comment
Previously, the elements of the vector were returned by reference which is problematic for std::vector<bool>