Sparse Efficiency Warning

Hi,

I am totally new to BEMPP and I am still figuring out how to do some stuff.

Everytime I ran some code I find here in the Discourse, most of the times I get this warning:

SparseEfficiencyWarning: splu requires CSC matrix format

Any hint on how can I solve this?

Thanks in advance,
Gustavo

This is a warning that scipy gives to warn that it’s changing the format of a sparse matrix. There’s not a lot we can do to avoid this conversion, so you can safely ignore this error.

In case someone wants to suppress the warning message, use the following code snippet in your script.

import warnings
warnings.filterwarnings("ignore", message="splu requires CSC matrix format")
1 Like