NanoComp / meep

free finite-difference time-domain (FDTD) software for electromagnetic simulations
GNU General Public License v2.0
1.19k stars 610 forks source link

Change type of loop index from `int` to `ptrdiff_t` in LOOP_OVER_IVECS C++ macro #2581

Closed oskooi closed 1 year ago

oskooi commented 1 year ago

Small fix in the loop macro to be consistent with the other loop indices.