Skip to content
Snippets Groups Projects
Commit 857608ae authored by CHAMONT David's avatar CHAMONT David
Browse files

Protection contre une surcharge mémoire.

parent 9b09046b
No related branches found
No related tags found
No related merge requests found
......@@ -68,6 +68,7 @@ int main( int argc, char * argv[] ) {
std::size_t nb_iterations {std::stoul(argv[4])};
std::cout << std::fixed << std::setprecision(6);
std::cout << std::endl;
assert(nb_images<=1000);
cadna_init(-1);
try {
......
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