vinsis/color-harmonization-julia

Error while running harmonize.jl

utkarsh-tyagi opened this issue · 0 comments

Hi ,

I am getting below error while running your project

ERROR: ArgumentError: The interval [a,b] is not a bracketing interval.
You need f(a) and f(b) to have different signs (f(a) * f(b) < 0).
Consider a different bracket or try fzero(f, c) with an initial guess c.

As per debug, below lines is causing error in find_zero func

α_min = find_zero(cost, [deg2rad(1), 2π], Roots.Brent())

could you please help me out to resolve this error?