Fix shared library not exporting symbols on Windows (#1684)

* Fix shared library not exporting symbols on Windows

* Function name style
This commit is contained in:
Cheng
2024-12-11 06:59:14 +09:00
committed by GitHub
parent 0070e360a1
commit 92ab6bdeb8
4 changed files with 13 additions and 5 deletions

View File

@@ -85,7 +85,7 @@ class ArrayPythonIterator {
void init_array(nb::module_& m) {
// Set Python print formatting options
mlx::core::global_formatter.capitalize_bool = true;
get_global_formatter().capitalize_bool = true;
// Types
nb::class_<Dtype>(