Commit be60ca55 authored by Tobias Meuser's avatar Tobias Meuser
Browse files

Corrected wrong index function

parent a1226c51
......@@ -131,7 +131,7 @@ public class VectoralJamProperty extends NumericVectoralProperty {
@Override
public int getIndexForValue(Object pValue) {
if (pValue instanceof Number) {
return (int) (((Number) pValue).doubleValue() * SCALING);
return (int) (((Number) pValue).doubleValue() / SCALING);
}
throw new AssertionError("Unknown value!");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment