Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG assigning file variable to field_tree in index #25

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
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
Next Next commit
Bug assigning file to field_tree in index
  • Loading branch information
jsanchez-tiempo committed May 7, 2020
commit d35235289fb6be17264dfa63fcde69e32c8b3ccd
2 changes: 1 addition & 1 deletion src/grib_index.c
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,7 @@ int _codes_index_add_file(grib_index* index, const char* filename, int message_t
}

field = (grib_field*)grib_context_malloc_clear(c, sizeof(grib_field));
field->file = file;
field->file = newfile;
index->count++;
field->offset = h->offset;

Expand Down