Skip to content

panic error #230

@luojh2015

Description

@luojh2015

return &Model{unsafe.Pointer(C.train(tmpCProb, tmpCParam))}

Line 21: - runtime error: cgo argument has Go pointer to Go pointer
goroutine 19 [running]:
panic(0x8bc2e0, 0xc000045a50)
D:/Go/src/runtime/panic.go:513 +0x1f4
github.com/sjwhitworth/golearn/linear_models.Train.func1(0xc00004bc20, 0xc0000e0ac0, 0x0)
D:/golang/src/github.com/sjwhitworth/golearn/linear_models/liblinear.go:65 +0x61

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions