We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebd194c commit 5ae639fCopy full SHA for 5ae639f
exercises/practice/rational-numbers/.meta/example.sh
@@ -30,7 +30,7 @@ sub() {
30
local -A r2
31
parse $2 r2
32
(( r2[numerator] *= -1 ))
33
- add $1 $(reduced "${r2[@]}")
+ add $1 $(reduced ${r2[numerator]} ${r2[denominator]})
34
}
35
36
mul() {
0 commit comments