Skip to content

Commit

Permalink
whitespace changes/force rerun of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
haileyajohnson committed Oct 14, 2024
1 parent d432159 commit 431a142
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cdm/core/src/main/java/ucar/nc2/filter/Classifier.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

public class Classifier implements Enhancement {


private String[] AttCat;
private List<int[]> rules = new ArrayList<>();

Expand All @@ -36,7 +35,6 @@ public Classifier(String[] AttCat) {
}

// Factory method to create a Classifier from a Variable

public static Classifier createFromVariable(VariableDS var) {
List<Attribute> attributes = var.attributes().getAttributes();

Expand All @@ -53,11 +51,8 @@ public static Classifier createFromVariable(VariableDS var) {
}

return new Classifier();

}



public int[] classifyWithAttributes(Array arr) {
int[] classifiedArray = new int[(int) arr.getSize()];
IndexIterator iterArr = arr.getIndexIterator();
Expand All @@ -74,8 +69,6 @@ public int[] classifyWithAttributes(Array arr) {
return classifiedArray;
}



public int classifyArrayAttribute(double val) {
for (int[] rule : rules) {
if (val > rule[0] && val <= rule[1] + Misc.defaultMaxRelativeDiffFloat) {
Expand Down

0 comments on commit 431a142

Please sign in to comment.