This fixes a bug when you attempt fit without setting initial parameters for unsupported ulens models. Currently the behavior will fail with UnboundLocalError (because the variable guess_paczynski_parameters is not set but is later used).
Instead, a NotImplementedError is raised telling the user the ulens model is not supported for guessing init parameters.
This fixes a bug when you attempt fit without setting initial parameters for unsupported ulens models. Currently the behavior will fail with UnboundLocalError (because the variable
guess_paczynski_parameters
is not set but is later used).Instead, a NotImplementedError is raised telling the user the ulens model is not supported for guessing init parameters.