Skip to content

Instantly share code, notes, and snippets.

@bjacob
Created October 19, 2021 19:06
Show Gist options
  • Save bjacob/979d567c0c72bbb50a1c77c4334b6d66 to your computer and use it in GitHub Desktop.
Save bjacob/979d567c0c72bbb50a1c77c4334b6d66 to your computer and use it in GitHub Desktop.
error: the actual and expected result matrices disagree at row 7, column 5.
actual value: 0
expected value: -24
left-hand side (rows 0..7 out of 0..7, columns 0..7 out of 0..7)
96 -48 126 36 -107 83 -3 -97
-52 41 45 127 62 120 -100 66
43 -37 -23 69 -40 126 -77 -100
-17 36 -13 -46 -60 38 -116 2
76 34 92 97 125 -107 -9 9
-123 24 104 24 104 -44 124 127
-126 -101 -29 75 -79 -79 -42 111
-27 -28 -31 57 22 -24 120 56
right-hand side (rows 0..7 out of 0..7, columns 0..7 out of 0..7)
1 0 0 0 0 0 0 0
0 1 0 0 0 0 0 0
0 0 1 0 0 0 0 0
0 0 0 1 0 0 0 0
0 0 0 0 1 0 0 0
0 0 0 0 0 1 0 0
0 0 0 0 0 0 1 0
0 0 0 0 0 0 0 1
input accumulator (rows 0..7 out of 0..7, columns 0..7 out of 0..7)
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
expected result (rows 0..7 out of 0..7, columns 0..7 out of 0..7)
96 -48 126 36 -107 83 -3 -97
-52 41 45 127 62 120 -100 66
43 -37 -23 69 -40 126 -77 -100
-17 36 -13 -46 -60 38 -116 2
76 34 92 97 125 -107 -9 9
-123 24 104 24 104 -44 124 127
-126 -101 -29 75 -79 -79 -42 111
-27 -28 -31 57 22 -24💩 120 56
actual result (rows 0..7 out of 0..7, columns 0..7 out of 0..7)
96 -48 126 36 -107 83 -3 -97
-52 41 45 127 62 120 -100 66
43 -37 -23 69 -40 126 -77 -100
-17 36 -13 -46 -60 38 -116 2
76 34 92 97 125 -107 -9 9
-123 24 104 24 104 -44 124 127
-126 -101 -29 75 -79 -79 -42 111
-27 -28 -31 57 22 0💩 120 56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment