Fix is_arma_type

Signed-off-by: Omar Shrit <omar@shrit.me>
This commit is contained in:
Omar Shrit
2021-07-02 17:17:05 +02:00
parent 1beac191ad
commit 0c7b38f17e
8 changed files with 16 additions and 8 deletions
+2 -1
View File
@@ -76,7 +76,8 @@ inline std::string GetType<std::string>(
!util::isStdVector<std::string>::value>::type*,
const typename std::enable_if<
!data::HasSerialize<std::string>::value>::type*,
const typename std::enable_if<!arma::is_arma_type<std::string>::value>::type*,
const typename std::enable_if<
!arma::is_arma_type<std::string>::value>::type*,
const typename std::enable_if<!std::is_same<std::string,
std::tuple<data::DatasetInfo, arma::mat>>::value>::type*)
{
+2 -1
View File
@@ -77,7 +77,8 @@ inline std::string GetGoType<std::string>(
!util::isStdVector<std::string>::value>::type*,
const typename std::enable_if<
!data::HasSerialize<std::string>::value>::type*,
const typename std::enable_if<!arma::is_arma_type<std::string>::value>::type*,
const typename std::enable_if<
!arma::is_arma_type<std::string>::value>::type*,
const typename std::enable_if<!std::is_same<std::string,
std::tuple<data::DatasetInfo, arma::mat>>::value>::type*)
{
@@ -54,7 +54,8 @@ inline std::string GetPrintableType<std::string>(
!util::isStdVector<std::string>::value>::type*,
const typename std::enable_if<
!data::HasSerialize<std::string>::value>::type*,
const typename std::enable_if<!arma::is_arma_type<std::string>::value>::type*,
const typename std::enable_if<
!arma::is_arma_type<std::string>::value>::type*,
const typename std::enable_if<!std::is_same<std::string,
std::tuple<data::DatasetInfo, arma::mat>>::value>::type*);
@@ -63,7 +63,8 @@ inline std::string GetPrintableType<std::string>(
!util::isStdVector<std::string>::value>::type*,
const typename std::enable_if<
!data::HasSerialize<std::string>::value>::type*,
const typename std::enable_if<!arma::is_arma_type<std::string>::value>::type*,
const typename std::enable_if<
!arma::is_arma_type<std::string>::value>::type*,
const typename std::enable_if<!std::is_same<std::string,
std::tuple<data::DatasetInfo, arma::mat>>::value>::type*)
{
+2 -1
View File
@@ -68,7 +68,8 @@ inline std::string GetType<std::string>(
!util::isStdVector<std::string>::value>::type*,
const typename std::enable_if<
!data::HasSerialize<std::string>::value>::type*,
const typename std::enable_if<!arma::is_arma_type<std::string>::value>::type*)
const typename std::enable_if<
!arma::is_arma_type<std::string>::value>::type*)
{
return "String";
}
@@ -57,7 +57,8 @@ inline std::string GetCythonType<std::string>(
!util::isStdVector<std::string>::value>::type*,
const typename std::enable_if<
!data::HasSerialize<std::string>::value>::type*,
const typename std::enable_if<!arma::is_arma_type<std::string>::value>::type*)
const typename std::enable_if<
!arma::is_arma_type<std::string>::value>::type*)
{
return "string";
}
@@ -54,7 +54,8 @@ inline std::string GetPrintableType<std::string>(
!util::isStdVector<std::string>::value>::type*,
const typename std::enable_if<
!data::HasSerialize<std::string>::value>::type*,
const typename std::enable_if<!arma::is_arma_type<std::string>::value>::type*,
const typename std::enable_if<
!arma::is_arma_type<std::string>::value>::type*,
const typename std::enable_if<!std::is_same<std::string,
std::tuple<data::DatasetInfo, arma::mat>>::value>::type*);
@@ -62,7 +62,8 @@ inline std::string GetPrintableType<std::string>(
!util::isStdVector<std::string>::value>::type*,
const typename std::enable_if<
!data::HasSerialize<std::string>::value>::type*,
const typename std::enable_if<!arma::is_arma_type<std::string>::value>::type*,
const typename std::enable_if<
!arma::is_arma_type<std::string>::value>::type*,
const typename std::enable_if<!std::is_same<std::string,
std::tuple<data::DatasetInfo, arma::mat>>::value>::type*)
{