Skip to content

goroutine stack exceeds 1000000000-byte limit #6

@delogix-daniel

Description

@delogix-daniel

Hi,
I'm getting a runtime error in this case

       note:=2.5

        x := []float64{5.0, 3.0, 1.0, 2.0, 4.0, 1.0}
	y := []float64{0.0, 1.0, 2.0, 3.0, 4.0, 5.0}

	li := linear.New()
	li.Fit(x, y)

	estimate, err := interpolate.WithSingle(li, note)

github.com/DzananGanic/numericalgo/interpolate/linear.(*Linear).findNearestNeighbors(0xc0000cf360, 0x4004000000000000, 0x9, 0x8, 0x0, 0x0)

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