summaryrefslogtreecommitdiff
path: root/addons/alpha_3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'addons/alpha_3.cpp')
-rw-r--r--addons/alpha_3.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/addons/alpha_3.cpp b/addons/alpha_3.cpp
index 7616e27..6df251c 100644
--- a/addons/alpha_3.cpp
+++ b/addons/alpha_3.cpp
@@ -176,7 +176,7 @@ int main(int argc, char** argv)
std::string next_line;
while( getline( is, next_line ) ) {
if( next_line != "" && next_line[ 0 ] != '#' ) {
- std::cerr << next_line;
+ //std::cerr << next_line;
std::stringstream sstr(next_line);
sstr >> p;
lp.push_back(p);
@@ -239,12 +239,14 @@ int main(int argc, char** argv)
std::size_t filtration_index = 0;
std::size_t filtration_size = circumradii.size();
+ boundary_matrix.set_num_cols( filtration_size );
+
Index curr_index = 0;
for(std::vector<Triple>::const_iterator it = circumradii.begin();
it != circumradii.end(); it++) {
- if(filtration_index % 1000 == 0) {
+ if(filtration_index % 100000 == 0) {
std::cerr << filtration_index << " of " << filtration_size
<< std::endl;
}