Skip to content
Snippets Groups Projects
Commit 3ff8fd0f authored by Chamira Balasuriya's avatar Chamira Balasuriya
Browse files

added mutant 2

parent 966a8090
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ public class Machine
private void do_div(int dest, int src1, int src2)
{
if (regs[src2] == 0){
/* no op */
throw new InvalidInstructionException();
}else{
regs[dest] = regs[src1] / regs[src2];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment