Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Fix CG alpha,beta being ndarrays#7

Open
fzimmermann89 wants to merge 1 commit intoIMTtugraz:masterfrom
fzimmermann89:Fix_ArrayFloatCG
Open

Fix CG alpha,beta being ndarrays#7
fzimmermann89 wants to merge 1 commit intoIMTtugraz:masterfrom
fzimmermann89:Fix_ArrayFloatCG

Conversation

@fzimmermann89
Copy link
Copy Markdown

This fixes an 'unsupported operand type(s) for *: 'numpy.ndarray' and 'Array'' error for 23052018_VFA_34.h5

Those scalar parameters should be floats or (cl)Arrays. Just convert them to floats to avoid 'unsupported operand type(s) for *: 'numpy.ndarray' and 'Array'' error.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant