This repository was archived by the owner on Dec 8, 2024. It is now read-only.
This repository was archived by the owner on Dec 8, 2024. It is now read-only.
Issue when giving integer values to fchl kernel functions #110
Open
Description
There's a bug in the fchl kernel functions if some parameters are integers. E.g. https://github.com/qmlcode/qml/blob/develop/qml/fchl/fchl_kernel_functions.py#L38
The numpy array will be an integer array and the subsequent transformations will be rounded to integer values. To fix, the line above should explicitely have dtype=float
added. There might be more similar cases in the file.