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 <ron@hybridgroup.com>
  • Loading branch information
deadprogram committed Sep 9, 2024
1 parent b87a0f3 commit 7d62d94
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 7d62d94

Please sign in to comment.