Resolve VectorInt type

This commit is contained in:
Yashwant
2020-06-14 10:15:10 +05:30
parent 1f91da2947
commit da7f2dbd67
@@ -155,7 +155,7 @@ bool mlpackGetParamBool(const char* identifier)
void* mlpackGetVecIntPtr(const char* identifier)
{
const size_t size = mlpackVecIntSize(identifier);
int64_t* ints = new int64_t[size];
long long* ints = new long long[size];
for (size_t i = 0; i < size; i++)
ints[i] = CLI::GetParam<std::vector<int>>(identifier)[i];