File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ int main()
61
61
int went_back_to_start_count = 0 ;
62
62
int failure_count = 0 ;
63
63
int max_steps_before_going_back = 0 ;
64
- vector<int > steps_it_went_to_zero;
64
+ vector<unsigned int > steps_it_went_to_zero;
65
65
for (int i=0 ; i < NUMBER_OF_RDM_WALKS; ++i){
66
66
67
67
int percent = (100 * i) / NUMBER_OF_RDM_WALKS;
Original file line number Diff line number Diff line change @@ -81,6 +81,8 @@ int main()
81
81
82
82
// fill the vector with the dimension size and number of try
83
83
vector<Points> global_vector;
84
+
85
+
84
86
for (int i=0 ; i < NUMBER_OF_RDM_WALKS; ++i){
85
87
global_vector.push_back (Points (DIMENSION));
86
88
}
@@ -92,7 +94,7 @@ int main()
92
94
// counters
93
95
int went_back_to_start_count = 0 ;
94
96
int failure_count = 0 ;
95
- int max_steps_before_going_back = 0 ;
97
+ unsigned int max_steps_before_going_back = 0 ;
96
98
for (unsigned int walk_number=0 ; walk_number < MAX_TRY_BEFORE_GIVEUP; ++walk_number){
97
99
98
100
// just some progress bar
You can’t perform that action at this time.
0 commit comments