return channels
This commit is contained in:
@@ -39,10 +39,8 @@ func pell(cmd *cobra.Command, args []string) {
|
||||
cobra.CheckErr(pellCoeff + " is a perfect square")
|
||||
}
|
||||
|
||||
hch := make(chan *big.Int)
|
||||
kch := make(chan *big.Int)
|
||||
go gaussianBrackets(a0, big.NewInt(1), repetend, hch)
|
||||
go gaussianBrackets(big.NewInt(1), big.NewInt(0), repetend, kch)
|
||||
hch := gaussianBrackets(a0, big.NewInt(1), cycle(repetend))
|
||||
kch := gaussianBrackets(big.NewInt(1), big.NewInt(0), cycle(repetend))
|
||||
|
||||
for {
|
||||
h, k := <-hch, <-kch
|
||||
|
||||
Reference in New Issue
Block a user