You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -217,7 +216,7 @@ void TasmanianSparseGrid::makeLocalPolynomialGrid(int dimensions, int outputs, i
217
216
throwstd::invalid_argument(message);
218
217
}
219
218
if (!OneDimensionalMeta::isLocalPolynomial(rule)){
220
-
std::string message = "ERROR: makeLocalPolynomialGrid() is called with rule: " + IO::getRuleString(rule) + ", which is not a local polynomial rule";
219
+
std::string message = "ERROR: makeLocalPolynomialGrid() is called with rule: " + std::string(IO::getRuleString(rule)) + ", which is not a local polynomial rule";
221
220
throwstd::invalid_argument(message);
222
221
}
223
222
if ((!level_limits.empty()) && (level_limits.size() != (size_t) dimensions)) throwstd::invalid_argument("ERROR: makeLocalPolynomialGrid() requires level_limits with either 0 or dimensions entries");
0 commit comments