Commit c2c0b843 authored by Jay's avatar Jay
Browse files

Fixes issue where ndarray could compare to None.

parent da3cfdb8
Loading
Loading
Loading
Loading
+2 −0
Changes for autocnet/utils/utils.py: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -38,6 +38,8 @@ def compare_dicts(d, o):
    if o.keys() != d.keys():
        return False
    for k, v in d.items():
        if v is None and o[k] is not None:
            return False
        if isinstance(v, pd.DataFrame):
            if not v.equals(o[k]):
                return False