mirror of
https://github.com/google/liblc3.git
synced 2026-04-20 14:44:49 +00:00
test: Enable fast-math on tests, and increase tolerance with SNS checks
This commit is contained in:
@@ -506,7 +506,7 @@ def check_synthesis(rng, dt, sr):
|
||||
|
||||
y = synthesis.run(x)
|
||||
y_c = lc3.sns_synthesize(dt, sr, synthesis.get_data(), x)
|
||||
ok = ok and np.amax(np.abs(y - y_c)) < 1e0
|
||||
ok = ok and np.amax(np.abs(y - y_c)) < 2e0
|
||||
|
||||
return ok
|
||||
|
||||
|
||||
Reference in New Issue
Block a user