Skip to content
Snippets Groups Projects
Commit 37caf01e authored by Danilo Piparo's avatar Danilo Piparo
Browse files

[TDF] Use lambda input variable

parent 82daee89
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ int tdf007_snapshot()
.Define("b2_vector",
[](float b2) {
std::vector<float> v;
for (int i = 0; i < 3; i++) v.push_back(i);
for (int i = 0; i < 3; i++) v.push_back(b2*i);
return v;
},
{"b2"});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment