Skip to content

Commit

Permalink
Add caching possibility
Browse files Browse the repository at this point in the history
  • Loading branch information
dspinellis committed Dec 28, 2011
1 parent fd2b248 commit 2a13f66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ExtensiblePartition.h
Expand Up @@ -69,6 +69,7 @@ class ExtensiblePartition {
// Return H(p)
double hp() {
// Create probability vector for H(p)
// TODO: Cache the following two as members and adjust them in add_point
vector <double> pp;
int npoints = 0;
for (int i = 1; i < points.size(); i++) {
Expand Down

0 comments on commit 2a13f66

Please sign in to comment.