This commit is contained in:
Namrata Mukhija
2018-04-23 12:56:28 +05:30
parent c91675da7b
commit 5049259e72
@@ -266,8 +266,8 @@ static void mlpackMain()
// Check the exact distances matrix has the right dimensions.
RequireParamValue<arma::mat>("exact_distances",
[&](const arma::mat& exactDists){ return (exactDists.n_rows == k); },
true, "the number of rows in exact distances matrix must be equal to
k.");
true, "the number of rows in exact distances matrix must be equal to "
"k.");
RequireParamValue<arma::mat>("exact_distances",
[&](const arma::mat& exactDists){ return (exactDists.n_cols ==
referenceSet.n_cols); }, true, "the number of columns in exact "