Use 'int' instead of 'unsigned int' to fix build.

This commit is contained in:
Ryan Curtin
2018-10-29 21:40:15 -04:00
parent dfb709e18a
commit a5dc9d447f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -474,7 +474,7 @@ template<typename OutputLayerType,
struct version<
mlpack::ann::FFN<OutputLayerType, InitializationRuleType, CustomLayer...>>
{
BOOST_STATIC_CONSTANT(unsigned int, value = 1);
BOOST_STATIC_CONSTANT(int, value = 1);
};
} // namespace serialization
+1 -1
View File
@@ -396,7 +396,7 @@ template<typename OutputLayerType,
struct version<
mlpack::ann::RNN<OutputLayerType, InitializationRuleType, CustomLayer...>>
{
BOOST_STATIC_CONSTANT(unsigned int, value = 1);
BOOST_STATIC_CONSTANT(int, value = 1);
};
} // namespace serialization