jonathf/matlab2cpp

problem with complex expressions

ir1979 opened this issue · 1 comments

Please check the following expression in MATLAB. the second argument of cumsum is not translated correctly and tril is not translated to trimatl.

si = tril(reshape(cumsum(reshape(C(2:end,:)*DT,n,n-1),2),n-1,n));

C: nxm
DT: mxn

Thanks

I have done some updates and I believe those fix the second argument, and tril is now translated to trimatl