diff --git a/R/showVmGlgExamples.R b/R/showVmGlgExamples.R index a52bc21f9701d519ec9a40b64be60eb4018b9147..628cc53c0727dde7c72d7fca03bd94c0020e3381 100644 --- a/R/showVmGlgExamples.R +++ b/R/showVmGlgExamples.R @@ -364,7 +364,7 @@ vmGlgExample.generateTest = function(contract, prf = 10, t = 10, t_prf = 12, ... names(cmpvals), sprintf("%.2f", cmpvals), sep = " = ", collapse = ", \n\t\t"); - code = paste0(code, "\t\t", check.str, "\n\t);\n"); + code = paste0(code, "\t\t", check.str, ",\n\tabsTolerance = 0.01\n\t);\n"); code = paste0(code, "})\n"); cat(code); }