Skip to content

Commit 95afd7b

Browse files
drew-512sbinet
andauthored
Update examples/multi-ctx/main.go
Co-authored-by: Sebastien Binet <binet@cern.ch>
1 parent 66fad23 commit 95afd7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/multi-ctx/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func (w *worker) compileTemplate(pySrc string) {
6767
}
6868

6969
func RunMultiPi(numWorkers, numTimes int) time.Duration {
70-
workersRunning := sync.WaitGroup{}
70+
var workersRunning sync.WaitGroup
7171

7272
fmt.Printf("Starting %d worker(s) to calculate %d jobs...\n", numWorkers, numTimes)
7373

0 commit comments

Comments
 (0)