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

Merge branch 'unitialised-variables-in-cell-tests-fix' into 'master'

Unitialised variables in cell tests fix

See merge request !639
parents f09f04ee c13fa1cf
No related branches found
No related tags found
1 merge request!639Unitialised variables in cell tests fix
...@@ -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