Skip to content

MapMatrix.getRow(int indx) is a bug #7

Description

@two8g

in class com.tencent.angel.ml.math2.matrix.MapMatrix

public class MapMatrix<Vec extends Vector> extends Matrix {
    protected HashMap<Long, Vec> mapMatrix;
}

because mapMatrix map's keyType is Long, so this.mapMatrix.get(idx) will return null when ids is int type.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions