diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-12-31 15:00:08 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-12-31 15:18:45 -0500 |
| commit | 8a4b759b0da2f6c62f260be8800887a9f48deb80 (patch) | |
| tree | 440845592b17063ee6684c04a1f1a311cbb52e73 /src | |
| parent | 579bcc03f6b2033c89446f3ec8fbd01d49f487ad (diff) | |
Avoid applying function π¨ to π© in Repeat
Diffstat (limited to 'src')
| -rw-r--r-- | src/r.bqn | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -580,9 +580,10 @@ _repeat_β{ nβπ¨πΎπ© lβuβ0 {"β: Repetition numbers in π¨ must be integers"!Intπ©βlβ©lβπ©βuβ©uβπ©}β0 n - aβπ©β_pβ{π½ββ£`β¨aβ©βΎβ0+π©} - posβ(π¨π½ β’)_p u - negβ(π¨π½βΌβ’)_p-l + bβπ¨{πβ£}Λβ{π¨Λ{π½πβ£}}0 + iββ¨π©β©βPβBβΈ{π`iβΎβπ©} + posβπ P u + negβπ InverseβΈP -l (|β<β0βposβΏnegΛ)β0 n } |
