mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-13 06:38:31 +00:00
fix: replications
This commit is contained in:
parent
77fd516b15
commit
73738acf91
@ -56,9 +56,7 @@ function resolveReplications(ast) {
|
||||
options_: {
|
||||
operator: {
|
||||
type_: 'stretch',
|
||||
// valueOf should be ok here, as we turn it into a string
|
||||
// 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()) },
|
||||
arguments_: { amount: new Fraction(replicate).inverse().toString() },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user