Skip to content

Conversation

@Biomiha
Copy link

@Biomiha Biomiha commented Dec 14, 2023

Hi @linqiaozhi

The alra.low.memory function has a line checking whether the input A_norm is of class matrix but the output of class(A_norm) is actually a vector with multiple elements e.g. ("matrix" and "array") and therefore this check throws an error. By changing the if statement to if "matrix" is found in class(A_norm) any other classes are ignored.
Hope this makes sense.

Thanks,
Miha

Correct bug in 'matrix' class error handling.
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

Successfully merging this pull request may close these issues.

1 participant