Skip to content

Commit

Permalink
Risolto import problematico
Browse files Browse the repository at this point in the history
  • Loading branch information
GiacomoManzoli committed Dec 23, 2016
1 parent 09a852f commit 30c9f34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/bm/Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import bm.yass.DistanceManager;
import bm.yass.DistanceMeasure;
import bm.yass.Experiment;
import com.sun.tools.corba.se.idl.IncludeGen;

import java.io.*;
import java.util.ArrayList;
Expand Down
4 changes: 2 additions & 2 deletions src/bm/clustering/MyCustomBigArray.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public MyCustomBigArray(long size){
}

public void set(long index, float value) {
int arrayIndex = (int) (index/ (long)ARRAY_SIZE);
int arrayIndex = (int) (index / (long)ARRAY_SIZE);
int innerIndex = (int) (index - ((long)arrayIndex * (long)ARRAY_SIZE));

try {
Expand All @@ -45,7 +45,7 @@ public void set(long index, float value) {
}

public float get(long index) {
int arrayIndex = (int) (index/ (long)ARRAY_SIZE);
int arrayIndex = (int) (index / (long)ARRAY_SIZE);
int innerIndex = (int) (index - ((long)arrayIndex * (long)ARRAY_SIZE));
try{
return arrays.get(arrayIndex)[innerIndex];
Expand Down

0 comments on commit 30c9f34

Please sign in to comment.