@@ -26,8 +26,8 @@ void convert_edgelist(std::string inputfile, Shuffler &shuffler)
2626 while (fgets (s, 1024 , inf) != NULL ) {
2727 linenum++;
2828 if (linenum % 10000000 == 0 ) {
29- DLOG (INFO) << " Read " << linenum << " lines, "
30- << bytesread / 1024 / 1024 . << " MB" << std::endl;
29+ LOG (INFO) << " Read " << linenum << " lines, "
30+ << bytesread / 1024 / 1024 . << " MB" << std::endl;
3131 }
3232 FIXLINE (s);
3333 bytesread += strlen (s);
@@ -60,7 +60,7 @@ void convert_edgelist(std::string inputfile, Shuffler &shuffler)
6060 fclose (inf);
6161}
6262
63- void convert_adjlist (std::string inputfile, Shuffler shuffler)
63+ void convert_adjlist (std::string inputfile, Shuffler & shuffler)
6464{
6565 FILE *inf = fopen (inputfile.c_str (), " r" );
6666 if (inf == NULL ) {
@@ -81,8 +81,8 @@ void convert_adjlist(std::string inputfile, Shuffler shuffler)
8181 while (fgets (s, maxlen, inf) != NULL ) {
8282 linenum++;
8383 if (bytesread - lastlog >= 500000000 ) {
84- DLOG (INFO) << " Read " << linenum << " lines, "
85- << bytesread / 1024 / 1024 . << " MB" << std::endl;
84+ LOG (INFO) << " Read " << linenum << " lines, "
85+ << bytesread / 1024 / 1024 . << " MB" << std::endl;
8686 lastlog = bytesread;
8787 }
8888 FIXLINE (s);
0 commit comments