Skip to content
Snippets Groups Projects
Commit 2aae6315 authored by Tristan Carrier Baudouin's avatar Tristan Carrier Baudouin
Browse files

gradient verification

parent 0cf810aa
No related branches found
No related tags found
No related merge requests found
...@@ -382,7 +382,7 @@ void verification(alglib::real_1d_array& x,void* ptr){ ...@@ -382,7 +382,7 @@ void verification(alglib::real_1d_array& x,void* ptr){
pointer = w->get_triangulator(); pointer = w->get_triangulator();
num = pointer->numPoints; num = pointer->numPoints;
srand(time(NULL)); srand(time(NULL));
index = rand()%num; index = rand()%(dimension/2);
e = 0.0000001; e = 0.0000001;
alglib::real_1d_array grad; alglib::real_1d_array grad;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment