Changeset 1005 for cpp/frams/_demos
- Timestamp:
- 07/14/20 15:54:43 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/_demos/simil_test.cpp
r1004 r1005 19 19 { 20 20 LoggerToStdout messages_to_stdout(LoggerBase::Enable); 21 typedef double *pDouble;22 21 int iCurrParam = 0; // index of the currently processed parameter 23 22 char *szCurrParam = NULL; … … 172 171 double **aaSimil = NULL; // array of similarities 173 172 174 // create theempty array of similarities175 aaSimil = new pDouble[pvGenos.size()];173 // create an empty array of similarities 174 aaSimil = new double*[pvGenos.size()]; 176 175 for (unsigned int k = 0; k < pvGenos.size(); k++) 177 176 { … … 181 180 } 182 181 183 // compute and remembersimilarities182 // compute and store similarities 184 183 for (unsigned int i = 0; i < pvGenos.size(); i++) 185 184 { … … 193 192 if (bPrintNames) 194 193 { 195 // if "-names" switch was given, print the number of genotypes and their names194 // if the "-names" switch was given, print the number of genotypes and their names 196 195 printf("%li\n", pvGenos.size()); 197 196 for (unsigned int iGen = 0; iGen < pvNames.size(); iGen++)
Note: See TracChangeset
for help on using the changeset viewer.