Skip to content
Snippets Groups Projects
Commit c13fa1cf authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Unitialised variables in cell tests fix

parent f09f04ee
No related branches found
No related tags found
No related merge requests found
...@@ -891,8 +891,10 @@ int main(int argc, char *argv[]) { ...@@ -891,8 +891,10 @@ int main(int argc, char *argv[]) {
for (int i = 0; i < 125; ++i) clean_up(cells[i]); for (int i = 0; i < 125; ++i) clean_up(cells[i]);
free(solution); free(solution);
#ifdef WITH_VECTORIZATION
cache_clean(&runner.ci_cache); cache_clean(&runner.ci_cache);
cache_clean(&runner.cj_cache); cache_clean(&runner.cj_cache);
#endif
return 0; return 0;
} }
...@@ -616,8 +616,10 @@ int main(int argc, char *argv[]) { ...@@ -616,8 +616,10 @@ int main(int argc, char *argv[]) {
/* Clean things to make the sanitizer happy ... */ /* Clean things to make the sanitizer happy ... */
for (int i = 0; i < 27; ++i) clean_up(cells[i]); for (int i = 0; i < 27; ++i) clean_up(cells[i]);
#ifdef WITH_VECTORIZATION
cache_clean(&runner.ci_cache); cache_clean(&runner.ci_cache);
cache_clean(&runner.cj_cache); cache_clean(&runner.cj_cache);
#endif
return 0; return 0;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment