Fixing issue with derivative and integrals
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
f9a7443631
commit
e5fe8afd06
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ function parseArgumentsForFunction(args, usage1, usage2) {
|
|||
} else if(args.length == 2) {
|
||||
// Parse variable
|
||||
[f,variable] = args
|
||||
if(typeof f != 'string' || typeof variable != 'number')
|
||||
if(typeof f != 'string' || typeof variable != 'string')
|
||||
throw EvalError(qsTranslate('usage', 'Usage: %1').arg(usage2))
|
||||
f = parser.parse(f).toJSFunction(variable, currentVars)
|
||||
} else
|
||||
|
|
Loading…
Reference in a new issue