Skip to content

Commit 0bb4f8c

Browse files
authored
Merge pull request #8 from PhanstielLab/master
pull phanstiel lab changes
2 parents 5c5a342 + 79eb20b commit 0bb4f8c

File tree

6 files changed

+646
-645
lines changed

6 files changed

+646
-645
lines changed

C++/main.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ int main(int argc, char *argv[])
4646
string chr2loc = argv[4 + offset];
4747
string unit = argv[5 + offset];
4848
string size = argv[6 + offset];
49-
int binsize = stoi(size);
49+
int32_t binsize = stoi(size);
5050
vector<contactRecord> records;
5151
records = straw(matrixType, norm, fname, chr1loc, chr2loc, unit, binsize);
52-
long length = records.size();
53-
for (long i = 0; i < length; i++) {
52+
size_t length = records.size();
53+
for (int i = 0; i < length; i++) {
5454
printf("%d\t%d\t%.14g\n", records[i].binX, records[i].binY, records[i].counts);
5555
}
5656
}

0 commit comments

Comments
 (0)