Add script to automate latency and CFD evaluation

Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
This commit is contained in:
Rafael Ravedutti
2022-12-13 15:35:41 +01:00
parent d76d044a00
commit cd37746d07
3 changed files with 25 additions and 2 deletions

View File

@@ -264,6 +264,6 @@ void grab(FILE* fptr, int n, MD_FLOAT* list) {
readline(line, fptr);
ptr = strtok(line, " \t\n\r\f");
list[i++] = atof(ptr);
while(ptr = strtok(NULL, " \t\n\r\f")) list[i++] = atof(ptr);
while((ptr = strtok(NULL, " \t\n\r\f"))) list[i++] = atof(ptr);
}
}