Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/stevengj/meep
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Jun 8, 2018
2 parents 9493f56 + 5929c23 commit 302b882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ cdouble *collapse_empty_dimensions(cdouble *array, int *rank, int dims[3], volum
int full_rank = *rank;
if (full_rank==0) return array;

int reduced_rank=0, reduced_dims[2], reduced_stride[2]={1,1}, nd=0;
int reduced_rank=0, reduced_dims[3], reduced_stride[3]={1,1,1}, nd=0;
LOOP_OVER_DIRECTIONS(dft_volume.dim, d)
{ int dim = dims[nd++];
if (dim==0) continue;
Expand Down

0 comments on commit 302b882

Please sign in to comment.