Avoid a copy

This commit is contained in:
Behdad Esfahbod committed 2024-04-16 17:09:07 -06:00
1 parent 2cfa55056c
commit a69a6cb09e
1 file changed
+1 -1
+1 -1
View File
@@ -557,7 +557,7 @@ struct tuple_delta_t
}
result_t solutions = rebase_tent (*tent, axis_limit, axis_triple_distances);
for (auto t : solutions)
for (auto &t : solutions)
{
tuple_delta_t new_var = *this;
if (t.second == Triple ())