Skip to content

Commit

Permalink
Set GMT_keyword_update to false in gmt_begin (#5178)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrjones authored Apr 28, 2021
1 parent fd2b035 commit a6980cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gmt_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -17616,6 +17616,8 @@ struct GMT_CTRL *gmt_begin (struct GMTAPI_CTRL *API, const char *session, unsign
int local_count = 0;
#endif

gmt_M_memset (GMT_keyword_updated, GMT_N_KEYS, bool); /* Need to start with all set as false */

#ifdef __FreeBSD__
#ifdef _i386_
/* allow divide by zero -- Inf */
Expand Down

0 comments on commit a6980cb

Please sign in to comment.