Skip to content

Commit

Permalink
deleted dead (commented) code
Browse files Browse the repository at this point in the history
  • Loading branch information
theJenix committed Mar 31, 2013
1 parent 3167362 commit f8f8cf6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/shared/filt/VarianceCounter.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ public int countLeft(double varianceToKeep) {
public int countRight(double varianceToKeep) {
int toKeep = 0;
double kept = 0;
// while (belowThreshold < toKeep &&
// eigenValues.get(eigenValues.m() - belowThreshold - 1,
// eigenValues.m() - belowThreshold - 1) < threshold) {
// belowThreshold++;
// }
for (int ii = eigenValues.m() - 1; ii >= 0; ii--) {
double var = eigenValues.get(ii, ii) / sum;
if (kept + var > varianceToKeep) {
Expand Down

0 comments on commit f8f8cf6

Please sign in to comment.