Fixed a critical bug where values were initialized to NA at the wrong
location when there was multiple elements per line
This commit is contained in:
@ -1271,12 +1271,13 @@ int obi_truncate_and_close_column(OBIDMS_column_p column)
|
||||
|
||||
|
||||
void obi_ini_to_NA_values(OBIDMS_column_p column,
|
||||
size_t start,
|
||||
size_t first_line_nb,
|
||||
size_t nb_lines)
|
||||
{
|
||||
size_t i, end, nb_elements;
|
||||
size_t i, start, end, nb_elements;
|
||||
|
||||
nb_elements = nb_lines*((column->header)->nb_elements_per_line);
|
||||
start = first_line_nb*((column->header)->nb_elements_per_line);
|
||||
end = start + nb_elements;
|
||||
|
||||
switch ((column->header)->data_type) {
|
||||
|
Reference in New Issue
Block a user