Skip to content

Commit 8e6d4f1

Browse files
committed
Enable back wasm fallback tests and revert a change made by mistake
1 parent acd15f4 commit 8e6d4f1

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

Sources/Matft/core/object/mfdata.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public class MfData: MfDataProtocol{
7171
case .Double:
7272
// dynamic allocation
7373
self.data_real = allocate_doubledata_from_flattenArray(&flatten_realArray, toBool: mftype == .Bool)
74-
self.data_imag = allocate_doubledata_from_flattenArray(&flatten_imagArray, toBool: mftype == .Bool)
74+
self.data_imag = allocate_floatdata_from_flattenArray(&flatten_imagArray, toBool: mftype == .Bool)
7575
}
7676
self.storedSize = flatten_realArray.count
7777
self.mftype = mftype

Tests/MatftTests/WASIFallbackTests.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Matft
44
/// Tests for WASI fallback implementations
55
/// These tests validate the pure Swift implementations that are used when Accelerate is not available (e.g., on WASI)
66
/// The tests run on macOS to ensure the fallback logic is correct before deploying to WASI
7-
/* These tests were failing on CI only so we disabled them temporally
7+
88
final class WASIFallbackTests: XCTestCase {
99

1010
// MARK: - Type Conversion Tests
@@ -465,5 +465,3 @@ final class WASIFallbackTests: XCTestCase {
465465
XCTAssertEqual(scalar, 42)
466466
}
467467
}
468-
469-
*/

0 commit comments

Comments
 (0)