Skip to content

Commit f4dfea6

Browse files
committed
add codecov to README
1 parent 88d55e3 commit f4dfea6

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[![Continuous Integration](https://github.com/pysal/spglm/actions/workflows/testing.yml/badge.svg)](https://github.com/pysal/spglm/actions/workflows/testing.yml)
55
[![Documentation Status](https://readthedocs.org/projects/spglm/badge/?version=latest)](https://spglm.readthedocs.io/en/latest/?badge=latest)
66
[![PyPI version](https://badge.fury.io/py/spglm.svg)](https://badge.fury.io/py/spglm)
7+
[![codecov](https://codecov.io/gh/pysal/spglm/branch/main/graph/badge.svg)](https://codecov.io/gh/pysal/spglm)
78

89

910
This module is an adaptation of a portion of [GLM functionality from the

spglm/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def _bit_length_26(x):
1616
from numpy.lib._version import NumpyVersion
1717
except ImportError:
1818
import re
19-
19+
2020
######################################################################
2121
# TODO - remove GH#39
2222
string_types = basestring # noqa F821 - `nan_dot` not defined - should remove

spglm/varfuncs.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,12 @@ def deriv(self, mu):
118118
########################################################################
119119
# `approx_fprime_cs` is imported by unused
120120
from statsmodels.tools.numdiff import approx_fprime_cs # noqa F401
121-
#return approx_fprime_cs(mu, self) # TODO fix breaks in `fabs
121+
122+
# return approx_fprime_cs(mu, self) # TODO fix breaks in `fabs
122123
########################################################################
123-
124+
124125
from statsmodels.tools.numdiff import approx_fprime
126+
125127
# TODO: diag is workaround problem with numdiff for 1d
126128
return np.diag(approx_fprime(mu, self))
127129

0 commit comments

Comments
 (0)