Commit c3319182 authored by Davis King's avatar Davis King

Fixed a bug which caused certain matrix expressions to not compile

when the BLAS bindings were enabled.  In particular, expressions which
involved a 1x1 matrix sometimes didn't compile.
parent 2ddc0d74
......@@ -116,6 +116,12 @@ namespace dlib
const static int value = column_matrix;
};
template <typename T, typename MM, typename L>
struct matrix_type_id<matrix<T,1,1,MM,L> >
{
const static int value = column_matrix;
};
template <typename T, long NC, typename MM, typename L>
struct matrix_type_id<matrix<T,1,NC,MM,L> >
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment