diff --git a/rogueviz/dhrg/dhrg.h b/rogueviz/dhrg/dhrg.h index f3e16568..f6408f31 100644 --- a/rogueviz/dhrg/dhrg.h +++ b/rogueviz/dhrg/dhrg.h @@ -37,5 +37,9 @@ extern int iterations; void clear(); void graph_from_rv(); + +ld loglikopt(); +int quickdist(mycell *c1, mycell *c2, int setid=0); +extern ll tally[MAXDIST]; } #endif diff --git a/rogueviz/dhrg/segment.cpp b/rogueviz/dhrg/segment.cpp index f4e908b2..c45a96b9 100644 --- a/rogueviz/dhrg/segment.cpp +++ b/rogueviz/dhrg/segment.cpp @@ -243,7 +243,7 @@ int segmentdist(segment *p1, segment *p2, int d) { } } -int quickdist(mycell *c1, mycell *c2, int setid=0) { +int quickdist(mycell *c1, mycell *c2, int setid) { int d = 0; c1->build(); c2->build();