mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-27 13:38:40 +00:00
fix: replications
This commit is contained in:
parent
77fd516b15
commit
73738acf91
@ -56,9 +56,7 @@ function resolveReplications(ast) {
|
|||||||
options_: {
|
options_: {
|
||||||
operator: {
|
operator: {
|
||||||
type_: 'stretch',
|
type_: 'stretch',
|
||||||
// valueOf should be ok here, as we turn it into a string
|
arguments_: { amount: new Fraction(replicate).inverse().toString() },
|
||||||
// fraction.js doc: "If you want to keep the number as it is, convert it to a string, as the string parser will not perform any further observations"
|
|
||||||
arguments_: { amount: String(new Fraction(replicate).inverse().valueOf()) },
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user