Ignore:
Timestamp:
09/09/23 15:12:57 (14 months ago)
Author:
Maciej Komosinski
Message:

Cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/f9/f9_oper.cpp

    r1216 r1274  
    124124{
    125125        int len1 = (int)strlen(g1), len2 = (int)strlen(g2);
    126         int p1 = rndUint(len1);  //random cut point for first genotype
    127         int p2 = rndUint(len2);  //random cut point for second genotype
     126        int p1 = rndUint(len1);  //random cut point for the first genotype
     127        int p2 = rndUint(len2);  //random cut point for the second genotype
    128128        char *child1 = (char*)malloc(p1 + len2 - p2 + 1);
    129129        char *child2 = (char*)malloc(p2 + len1 - p1 + 1);
     
    147147                int pos = ptr - turtle_commands_f9;
    148148                int axis = pos / 2;
    149                 style = GENSTYLE_RGBS(axis == 0 ? 200 : 0, axis == 1 ? 200 : 0, axis == 2 ? 200 : 0, GENSTYLE_NONE);
     149                style = GENSTYLE_RGBS(axis == 0 ? 200 : 0, axis == 2 ? 200 : 0, axis == 1 ? 200 : 0, GENSTYLE_NONE);
    150150        }
    151151        return style;
Note: See TracChangeset for help on using the changeset viewer.