Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
two8g opened this issue May 22, 2020 · 0 comments
Open

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

two8g opened this issue May 22, 2020 · 0 comments

Comments

@two8g
Copy link

two8g commented May 22, 2020

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.

two8g pushed a commit to two8g/math2 that referenced this issue May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant