Skip to content

Commit

Permalink
Init ModelInfo::velfile and ModelInfo::densfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrabban committed Nov 6, 2024
1 parent b22215c commit 0b88019
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion SeisAcoMod2D/common/modelling.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ typedef struct ModelInfo

float **vel2d, **rho2d; // 2D array to store velocity and density model
float vmax, vmin;

ModelInfo() {
memset(velfile, 0, 224);
memset(densfile, 0, 224);
}
}mod_t;

typedef struct Wavelet
Expand Down

0 comments on commit 0b88019

Please sign in to comment.