From 4178e1dbd2581f1e8d1c8d897e2fdf4f3078d251 Mon Sep 17 00:00:00 2001 From: Ewen Smith <ewens@student.unimelb.edu.au> Date: Fri, 23 Oct 2020 11:24:03 +1100 Subject: [PATCH] Changed invalid percentage --- fuzzer/Fuzzer.java | 2 +- runCount.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/fuzzer/Fuzzer.java b/fuzzer/Fuzzer.java index 8b91a1a..2e1a65e 100644 --- a/fuzzer/Fuzzer.java +++ b/fuzzer/Fuzzer.java @@ -242,7 +242,7 @@ public class Fuzzer { } else { while (counter < numInstructions) { Instruction newInstr; - if (rand.nextInt(100) < LINE_ERROR_PERCENTAGE){ + if (rand.nextInt(1000) < LINE_ERROR_PERCENTAGE){ newInstr = Instruction.getRandomInstruction(2, instructionStack, pathwayProb); result.append(completeInstruction(false, newInstr, longVarNames)); if (dynamicProb) { diff --git a/runCount.txt b/runCount.txt index c227083..e69de29 100644 --- a/runCount.txt +++ b/runCount.txt @@ -1 +0,0 @@ -0 \ No newline at end of file -- GitLab