Changeset 973 for cpp/frams/genetics/fB/fB_general.h
- Timestamp:
- 07/03/20 00:37:13 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/fB/fB_general.h
r802 r973 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-20 18Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2020 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 … … 35 35 do { 36 36 count++; 37 if (start < genotype.len ())37 if (start < genotype.length()) 38 38 result = getNextGene(start, genotype, tmp, start); 39 39 else … … 52 52 do { 53 53 count++; 54 if (start < geno.len ())54 if (start < geno.length()) 55 55 getNextGene(start, geno, tmp, start); 56 56 else … … 89 89 } while (quotecount % 2 != 0 && end != -1); 90 90 91 if (end == -1) end = genotype.len ();91 if (end == -1) end = genotype.length(); 92 92 else end += 2; 93 93 start -= 1; … … 124 124 } while (quotecount % 2 != 0 && end != -1); 125 125 126 if (end == -1) end = genotype.len ();126 if (end == -1) end = genotype.length(); 127 127 else end += 2; 128 128 start -= 1;
Note: See TracChangeset
for help on using the changeset viewer.