Skip to content

Commit

Permalink
cuda: correct go fmt error
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Sep 10, 2024
1 parent d978659 commit d13be2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cuda/imgproc.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ type TemplateMatching struct {
func NewTemplateMatching(srcType gocv.MatType, method gocv.TemplateMatchMode) TemplateMatching {
return TemplateMatching{p: unsafe.Pointer(C.TemplateMatching_Create(C.int(srcType), C.int(method)))}
}

// Close TemplateMatching
func (tm *TemplateMatching) Close() error {
C.TemplateMatching_Close((C.TemplateMatching)(tm.p))
Expand Down

0 comments on commit d13be2a

Please sign in to comment.