Remove use of vector<const T> (#1514)

This commit is contained in:
Dhruv Govil 2024-10-22 16:31:52 -07:00 committed by GitHub
parent 3ddc07e936
commit f6afb9c09b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,7 +32,7 @@ void CustomKernel::eval_gpu(
return copies.back(); return copies.back();
} }
}; };
std::vector<const array> checked_inputs; std::vector<array> checked_inputs;
for (const array& in : inputs) { for (const array& in : inputs) {
checked_inputs.push_back(check_input(in)); checked_inputs.push_back(check_input(in));
} }