Skip to content

Commit

Permalink
Rename folders
Browse files Browse the repository at this point in the history
  • Loading branch information
georgegito committed Sep 27, 2021
1 parent e08d4db commit 9ae5283
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/Exe-4.pdf
/build
/.vscode
/graphs/not-needed
/mtx/not-needed
/matlab/com-Youtube.mtx
/matlab/belgium_osm.mtx
/docker
Expand Down
6 changes: 3 additions & 3 deletions include/reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void read2coo(int graphId, int &n, int &nnz, coo &M)
exit(1);
}

std::string file = "graphs/" + graph;
std::string file = "mtx/in/" + graph;

readMtxValues(file, n, nnz);
util::initCoo(M, n, n, nnz);
Expand Down Expand Up @@ -54,7 +54,7 @@ std::string read2csr(int graphId, int &n, int &nnz, csr &A)
exit(1);
}

std::string file = "graphs/" + graph;
std::string file = "mtx/in/" + graph;

readMtxValues(file, n, nnz);

Expand Down Expand Up @@ -94,7 +94,7 @@ std::string read2csc(int graphId, int &n, int &nnz, csc &B)
exit(1);
}

std::string file = "graphs/" + graph;
std::string file = "mtx/in/" + graph;

readMtxValues(file, n, nnz);

Expand Down
2 changes: 1 addition & 1 deletion include/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ namespace util

// prt::vec(vecC);

std::string checkFile = "graphs/bmm-res/" + checkGraph;
std::string checkFile = "mtx/out/" + checkGraph;

readMtxValues(checkFile, checkN, checkNnz);
coo checkM;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 9ae5283

Please sign in to comment.