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.
This commit is contained in:
Davis King 2012-02-22 19:51:59 -05:00
parent 2ddc0d745c
commit c3319182a2
1 changed files with 6 additions and 0 deletions

View File

@ -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> >
{