The current tutorial is limited for the case of the number of loci being determined at run-time. Specifically, the lambda expressions shown can lead to things like segmentation faults and/or incorrect values. I need an example where the lambdas capture by copy.
The current tutorial is limited for the case of the number of loci being determined at run-time. Specifically, the lambda expressions shown can lead to things like segmentation faults and/or incorrect values. I need an example where the lambdas capture by copy.