Changeset 770


Ignore:
Timestamp:
04/05/18 17:16:03 (7 years ago)
Author:
Maciej Komosinski
Message:

Avoided "min" and "max" as variable names, fixes issue 22 [refs #62]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/f4/f4_general.cpp

    r767 r770  
    12171217}
    12181218
    1219 f4_node * f4_node::randomNodeWithSize(int min, int max)
     1219f4_node * f4_node::randomNodeWithSize(int mn, int mx)
    12201220{
    12211221        // try random nodes, and accept if size in range
     
    12281228                nod = randomNode();
    12291229                n = nod->count();
    1230                 if ((n >= min) && (n <= max)) return nod;
     1230                if ((n >= mn) && (n <= mx)) return nod;
    12311231        }
    12321232        // failed, doesn't matter
Note: See TracChangeset for help on using the changeset viewer.