aboutsummaryrefslogtreecommitdiff
path: root/chapters/appendix_a.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'chapters/appendix_a.adoc')
-rw-r--r--chapters/appendix_a.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chapters/appendix_a.adoc b/chapters/appendix_a.adoc
index 17007b5..b162738 100644
--- a/chapters/appendix_a.adoc
+++ b/chapters/appendix_a.adoc
@@ -114,8 +114,8 @@ The aim of this test set is to check a mixture of zero and non-zero products.
[cols="1,9"]
|===
| p | tosa_mi_data(S, KS, p, k, i) =
-| 0 | (k==KS/2) ? +0.5 : (set_data(2*S, i) < 0 ? 0.0 : (B/sqrt(KS))*set_data(2*S+1, i))
-| 1 | (k==KS/2) ? -0.5 : (set_data(2*S, i) < 0 ? (B/sqrt(KS))*set_data(2*S+1, i) : 0.0)
+| 0 | (k==KS/2) ? (set_data(2*S, i) < 0 ? -0.5 : +0.5) : (set_data(2*S, i) < 0 ? 0.0 : (B/sqrt(KS))*set_data(2*S+1, i))
+| 1 | (k==KS/2) ? (set_data(2*S, i) < 0 ? +0.5 : -0.5) : (set_data(2*S, i) < 0 ? (B/sqrt(KS))*set_data(2*S+1, i) : 0.0)
| 2 | 0.0
|===