mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 06:19:33 -04:00
fix: replications
This commit is contained in:
+1
-3
@@ -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() },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user