Skip to content

Added unit tests for matrix arithmetic #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 29, 2019
Prev Previous commit
Next Next commit
Fixed failing unit test due to large float and resulting decreased ac…
…curacy
  • Loading branch information
regexident committed Aug 29, 2019
commit 21caeecd167684e58d9951a269ed99112436bf00
2 changes: 1 addition & 1 deletion Tests/SurgeTests/MatrixTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ class MatrixTests: XCTestCase {
}
)

XCTAssertEqual(exp(lhs), expected, accuracy: 1e-5)
XCTAssertEqual(exp(lhs), expected, accuracy: 1e-3)
}

func test_exp_matrix_double() {
Expand Down