Skip to content

Commit

Permalink
add missing module imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilipp committed Sep 29, 2019
1 parent d3a3e22 commit bb33c46
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion psy_reg/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
"""Utility functions for psy-reg"""
import abc
import inspect
from itertools import cycle
from scipy.optimize import curve_fit, differential_evolution
import numpy as np
from warnings import warn


def rsquared(sim, obs):
Expand Down Expand Up @@ -115,4 +120,4 @@ def fit(cls, x, y, *args, **kwargs):
if pcov.size == 1:
attrs['err'] = np.sqrt(pcov)[0, 0]

return cls(*params, **attrs)
return cls(*params, **attrs)

0 comments on commit bb33c46

Please sign in to comment.