Changeset 1108 for cpp/frams/genetics/fS
- Timestamp:
- 03/15/21 15:57:32 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/fS/fS_general.cpp
r1056 r1108 684 684 685 685 int genoStart = modeSeparatorIndex + 1; 686 Substring substring(geno.c_str(), genoStart, geno.length() - genoStart);686 Substring substring(geno.c_str(), genoStart, int(geno.length()) - genoStart); 687 687 startNode = new Node(substring, nullptr, genotypeParams); 688 688 validateNeuroInputs(); … … 853 853 { 854 854 vector<Node*> allNodes = getAllNodes(); 855 return allNodes[fromIndex + rndUint( allNodes.size() - fromIndex)];855 return allNodes[fromIndex + rndUint(int(allNodes.size()) - fromIndex)]; 856 856 } 857 857
Note: See TracChangeset
for help on using the changeset viewer.