You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there is a error when I run TestLogistic.Error info is "Line 20: - runtime error: cgo argument has Go pointer to Go pointer ", file is "golearn-master/linear_models/logistic_test.go"
When Initing prob.c_prob.x and prob.c_prob.y in func NewProblem, it allocates memory in Go,
we need to allocate the pointer memory in C, not Go.
there is a error when I run TestLogistic.Error info is "Line 20: - runtime error: cgo argument has Go pointer to Go pointer ", file is "golearn-master/linear_models/logistic_test.go"
When Initing prob.c_prob.x and prob.c_prob.y in func NewProblem, it allocates memory in Go,
we need to allocate the pointer memory in C, not Go.
So there is error in function Fit to call Train
The text was updated successfully, but these errors were encountered: