@@ -40,58 +40,48 @@ struct IsArmaType
4040 const static bool value = false ;
4141};
4242
43- // Commenting out the first template per case, because
44- // Visual Studio doesn't like this instantiaion pattern (error C2910).
45- // template<>
4643template <typename eT>
4744struct IsArmaType <arma::Col<eT> >
4845{
4946 const static bool value = true ;
5047};
5148
52- // template<>
5349template <typename eT>
5450struct IsArmaType <arma::SpCol<eT> >
5551{
5652 const static bool value = true ;
5753};
5854
59- // template<>
6055template <typename eT>
6156struct IsArmaType <arma::Row<eT> >
6257{
6358 const static bool value = true ;
6459};
6560
66- // template<>
6761template <typename eT>
6862struct IsArmaType <arma::SpRow<eT> >
6963{
7064 const static bool value = true ;
7165};
7266
73- // template<>
7467template <typename eT>
7568struct IsArmaType <arma::subview<eT> >
7669{
7770 const static bool value = true ;
7871};
7972
80- // template<>
8173template <typename eT>
8274struct IsArmaType <arma::subview_col<eT> >
8375{
8476 const static bool value = true ;
8577};
8678
87- // template<>
8879template <typename eT>
8980struct IsArmaType <arma::subview_row<eT> >
9081{
9182 const static bool value = true ;
9283};
9384
94- // template<>
9585template <typename eT>
9686struct IsArmaType <arma::SpSubview<eT> >
9787{
@@ -110,28 +100,24 @@ struct IsArmaType<arma::SpSubview_row<eT> >
110100 const static bool value = true ;
111101};
112102
113- // template<>
114103template <typename eT>
115104struct IsArmaType <arma::Mat<eT> >
116105{
117106 const static bool value = true ;
118107};
119108
120- // template<>
121109template <typename eT>
122110struct IsArmaType <arma::SpMat<eT> >
123111{
124112 const static bool value = true ;
125113};
126114
127- // template<>
128115template <typename eT>
129116struct IsArmaType <arma::Cube<eT> >
130117{
131118 const static bool value = true ;
132119};
133120
134- // template<>
135121template <typename eT>
136122struct IsArmaType <arma::subview_cube<eT> >
137123{
0 commit comments