mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-30 16:47:49 +08:00
BUG: TypeError message had only str of numpy.dtype class
We want to use the dtype of the data that was passed in.
This commit is contained in:
@@ -86,7 +86,7 @@ def _normalize_array(data):
|
||||
else:
|
||||
raise TypeError(
|
||||
"Don't know how to construct AdjustedArray "
|
||||
"on data of type %s." % dtype
|
||||
"on data of type %s." % data_dtype
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user