Skip to content

Commit

Permalink
Fix import bug in pycpufit
Browse files Browse the repository at this point in the history
The import statement in `Cpufit/python/pycpufit/__init__.py` causes this
error:

```
Traceback (most recent call last):
  File "Gpufit/build/pyCpufit/setup.py", line 10, in <module>
    import pycpufit.version as vs
  File "Gpufit/build/pyCpufit/pycpufit/__init__.py", line 1, in <module>
    from cpufit import *
```

This commit makes the import fully qualififed, which fixes the problem.
  • Loading branch information
SimonClifford committed Feb 6, 2024
1 parent 772d96f commit 54e8330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cpufit/python/pycpufit/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from cpufit import *
from pycpufit.cpufit import *

0 comments on commit 54e8330

Please sign in to comment.