Fix lambda capture

This commit is contained in:
Ed Addario 2025-10-20 21:57:03 +01:00
parent 00ddf039b3
commit 543b5a99db
No known key found for this signature in database
GPG Key ID: E7875815A3230993
1 changed files with 1 additions and 1 deletions

View File

@ -1421,7 +1421,7 @@ static std::unordered_map<std::string, ggml_type> target_bpw_type(
}
// Keep only the paretooptimal candidates and enforce convexity in (bytes, error) curve
auto pareto_convex = [](std::vector<candidate_types> & candidates) {
auto pareto_convex = [epsilon](std::vector<candidate_types> & candidates) {
if (candidates.empty()) { return; }
std::sort(candidates.begin(), candidates.end(), [](const candidate_types & a, const candidate_types & b) {