Skip to content

Commit

Permalink
size_t
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Oct 25, 2024
1 parent c433877 commit 47b3e56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/algs/stogo/tools.cc
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ bool TBox::CloseToMin(RVector &vec, double *objval, double eps_cl) {
return FALSE;
}

unsigned int TBox::NStationary() {
size_t TBox::NStationary() {
// Returns the number of trials in a box
return TList.size() ;
return TList.size();
}

void TBox::split(RTBox B1, RTBox B2) {
Expand Down
2 changes: 1 addition & 1 deletion src/algs/stogo/tools.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class TBox: public VBox {
void ClearBox();
bool CloseToMin(RVector&, double*, double);

unsigned int NStationary(); // Returns the number of stationary points
size_t NStationary(); // Returns the number of stationary points

void split(RTBox, RTBox); // Split a box
void dispTrials();
Expand Down

0 comments on commit 47b3e56

Please sign in to comment.