Skip to content
Snippets Groups Projects
Commit f69bcf0d authored by Moritz Hanke's avatar Moritz Hanke
Browse files

fixes minor potential issue in routine yac_new_interpolation_method_nnn_mask

parent b4b4e788
No related branches found
No related tags found
No related merge requests found
......@@ -1224,12 +1224,13 @@ yac_new_interpolation_method_nnn_mask(struct global_search * search,
str_buf_size += strlen(target_comp_name);
str_buf_size += strlen(source_domain_name);
str_buf_size += strlen(target_domain_name);
str_buf_size += strlen(stack_name) + 10 + 10 + 10 + 2 + 16 + 10 + 1;
str_buf_size += strlen(stack_name) + 10 + 10 + 10 + 2 + 16 + 16 + 10 + 1;
// (+ 10) for points_idx
// (+ 10) for reduction_type
// (+ 10) for n
// (+ 2) for mask handling
// (+ 16) for rbf scale
// (+ 16) for gauss scale
// (+ 10) for unique_method_id
// (+ 1) for '\0'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment