Commit 60a19d81 authored by mak28ma's avatar mak28ma
Browse files

fixed a passge where x and y were exchanged, there is still at least 1

more error
parent 782ab48f
......@@ -80,8 +80,8 @@ public class Instance {
// check if this instance contains the features
if (containsFeature(features)) {
// if so then create a sprase matrix and put a 1 into the
// according slot
denseInstanceMatrix.add(denseIndices.x, denseIndices.y, 1);
// according slot ;x is always the cols
denseInstanceMatrix.add(denseIndices.y, denseIndices.x, 1);
// perform the kronecker expansion from the non sparse dense elements
......@@ -107,12 +107,6 @@ public class MatrixUtil {
//assert that the recalculated points are contained in the mapping
Supports Markdown
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