|
@@ -174,11 +174,11 @@ func BenchmarkComplex(b *testing.B) {
|
|
|
}
|
|
|
|
|
|
func init() {
|
|
|
- flow.Register("vecmul", VecMul)
|
|
|
- flow.Register("vecadd", VecAdd)
|
|
|
- flow.Register("vecdiv", VecDiv)
|
|
|
- flow.Register("inc", Inc)
|
|
|
- flow.Register("add", Add)
|
|
|
+ registry.Register("vecmul", VecMul)
|
|
|
+ registry.Register("vecadd", VecAdd)
|
|
|
+ registry.Register("vecdiv", VecDiv)
|
|
|
+ registry.Register("inc", Inc)
|
|
|
+ registry.Register("add", Add)
|
|
|
}
|
|
|
|
|
|
func prepareComplex() (*flow.Flow, flow.Operation) {
|