miSCellaneous_lib
miSCellaneous_lib copied to clipboard
fixed corner case [1,1].lcmByFactors
I'd expect that following lines result the same value
[1,1].reduce(\lcm);
[1,1].lcmByFactors[1];
Actually an empty list is returned in this case. Probably there's a more elegant way to implement this behaviour.
Hi, thanks for the hint ! I'll add in the next offical version (which might take time).