Skip to content

Conversation

@vosps
Copy link

@vosps vosps commented Nov 20, 2020

Passing a function with multiple arguments to energyusage.evaluate() causes an error if any args are not strings:

numpy.core._exceptions.UFuncTypeError: ufunc 'add' did not contain a loop with signature matching types (dtype('<U32'), dtype('<U32')) -> dtype('<U32')

Fixed report generation by casting each arg to string, as well as improving formatting for np.ndarray arg types 💪

Passing a function with multiple arguments to `energyusage.evaluate()` causes an error if any args are not strings:
```
numpy.core._exceptions.UFuncTypeError: ufunc 'add' did not contain a loop with signature matching types (dtype('<U32'), dtype('<U32')) -> dtype('<U32')
```

Fixed report generation by casting each `arg` to string, as well as improving formatting for `np.ndarray` arg types 💪
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