Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/meepgeom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3022,7 +3022,7 @@ void material_grids_addgradient(double *v, size_t ng, size_t nf, std::vector<mee

// clear all the dft data structures
for (int i=0;i<3;i++){
for (int ii=0;i<adjoint_dft_chunks[i].size();i++){
for (int ii=0;ii<adjoint_dft_chunks[i].size();ii++){
delete adjoint_dft_chunks[i][ii];
delete forward_dft_chunks[i][ii];
}
Expand Down