Skip to content

blas/gonum: rename, add and use panic strings

Sebastien Binet requested to merge blas/rename-panic-strings into master

Created by: vladimir-ch

I need the added strings for changes in blas/netlib to use string constants instead of string literals in panics there. Renaming badX and badY comes as a consequence.

This PR does not address the string literals in the various check functions because I don't know how to use the constants there in a simple, efficient way (without fmt). I would suggest just to remove the check functions and do the checks explicitly. As a benefit this could in some cases avoid repeated testing of some parameters.

This PR also does not address the illegal/bad question. Later.

Please take a look.

Merge request reports