Re:How One Missing `var` Ruined our Launch
by swanson on Monday October 31, 2011 @07:17PM
(#3179628)
Ha, that reminds me of a program I was writing in MATLAB. I used `i` for a loop index in one part of the script and then later when doing some complex number calculations (`2 + 3i`)...it was one of those so-stupid-you-have-to-laugh moments when I finally figured it out.
[ Parent
| on HN ]
It's for this precise reason that I use 1i rather than i when doing complex arithmetic in matlab.