clad icon indicating copy to clipboard operation
clad copied to clipboard

Add init-statement support for range-based for loops

Open ovdiiuv opened this issue 6 months ago • 0 comments

Differentiation of

double f(double x){
   int v[] = {1, 2, 3};
   double res = 0;
    for (auto n = v.size(); auto i : v){
       res+=n;
    }
   return res;
}

isn't yet supported

ovdiiuv avatar Jul 26 '24 13:07 ovdiiuv