Skip to content

Commit

Permalink
Resolving issue #98, First entry in yearly output files is no longer …
Browse files Browse the repository at this point in the history
…0. Also added call to closeFile function and fixed some compiler warnings.
  • Loading branch information
BrendenBe1 committed Mar 27, 2018
1 parent fe3a132 commit e4a2480
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ST_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include "sxw_funcs.h"
#include "sxw.h"
#include "sw_src/SW_Output.h"
#include "sw_src/rands.h"
extern SXW_t SXW;
#endif

Expand Down Expand Up @@ -256,7 +257,7 @@ int main(int argc, char **argv) {
SXW_PrintDebug(1);
}
#endif

SW_OUT_close_files();
free_all_sxw_memory();
printf("\nend program\n");
fprintf(progfp, "\n");
Expand Down
2 changes: 1 addition & 1 deletion sw_src

1 comment on commit e4a2480

@kpalmqui
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, this problem has been taken care of on my side too.

Please sign in to comment.