Increase the filename size to 200
This commit is contained in:
1 parent
96ca62f464
commit
7616a0c935
1 file changed
+1
-1
@@ -654,7 +654,7 @@ int main (int argc, char *argv[]) {
|
||||
data.close();
|
||||
for (int sample=0;sample<num_of_samples;sample++) {
|
||||
FILE *out_file = NULL;
|
||||
char filename[100];
|
||||
char filename[200];
|
||||
sprintf(filename,"%s_P%d_%d.dat", filename_common, (int)(ploss*1000), sample);
|
||||
out_file = fopen (filename, "w");
|
||||
if (out_file == NULL)
|
||||
|
||||
Reference in new issue
Block a user