Skip to content

Commit f43ed86

Browse files
committed
fix: use direct import for types module (same directory)
Mojo doesn't support relative imports in this context. Since audio_ffi.mojo and types.mojo are in the same ffi/ directory, use direct import without package prefix.
1 parent c3de61a commit f43ed86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ffi/audio_ffi.mojo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ from math.constants import pi
2121
from memory import UnsafePointer
2222
from memory.unsafe_pointer import alloc
2323

24-
from .types import (
24+
from types import (
2525
MojoMelConfig,
2626
MojoMelSpectrogram,
2727
MOJO_AUDIO_SUCCESS,

0 commit comments

Comments
 (0)