formula/mathjs: re-fix array to zero-based index instead of one-based index
This commit is contained in:
parent
6cd29dbdd8
commit
80c3ab8aa0
1 changed files with 2 additions and 1 deletions
|
|
@ -75,7 +75,8 @@ module.exports = {
|
|||
matrix: 'Array'
|
||||
})
|
||||
// set math's parser array index base to zero
|
||||
math.expression.transform = Object.create(math)
|
||||
math.expression.mathWithTransform = Object.assign({}, math)
|
||||
|
||||
return math
|
||||
}()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue