Skip to content

Commit 2e03db9

Browse files
committed
Fix indexing in case R1 <-> R2
When swapping row 1 and row 2, there was $a12 instead of $a21. That would cause about 1/3 of the generated problems to have one of the 27 answers wrong.
1 parent 4329411 commit 2e03db9

File tree

1 file changed

+1
-1
lines changed
  • OpenProblemLibrary/Mizzou/Finite_Math/MatrixOperations

1 file changed

+1
-1
lines changed

OpenProblemLibrary/Mizzou/Finite_Math/MatrixOperations/RowOp3by3e.pg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ $ans9b = $m*$a33;
169169
if($case2 == 1){
170170
$i3 = 1;
171171
$j3 = 2;
172-
$ans1c = $a12;
172+
$ans1c = $a21;
173173
$ans2c = $a22;
174174
$ans3c = $a23;
175175
$ans4c = $a11;

0 commit comments

Comments
 (0)