jonathf/matlab2cpp

Variabel capture i lambdafunktion

aronandersson opened this issue · 0 comments

Variabelcapture verkar inte fungera. E.g.

AAt = @(z) A*At*z;

blir

AAt = [] (vec z) {A*At*z ; } ;

Men ska vara:

AAt = [A,At] (vec z) {A*At*z ; } ;