Skip to content

Commit

Permalink
try omitting numba function for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
lthurner committed May 3, 2017
1 parent a9d2d4e commit 26d1608
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[run]
omit =
pandapower/test/*
pandapower/plotting/*
pandapower/pypower_extensions/*
pandapower/plotting/*
2 changes: 1 addition & 1 deletion pandapower/pf/dSbus_dV_numba.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

# @jit(Tuple((c16[:], c16[:]))(c16[:], i4[:], i4[:], c16[:], c16[:]), nopython=True, cache=True)
@jit(nopython=True, cache=True)
def dSbus_dV_numba_sparse(Yx, Yp, Yj, V, Vnorm, Ibus):
def dSbus_dV_numba_sparse(Yx, Yp, Yj, V, Vnorm, Ibus): # pragma: no cover
"""Computes partial derivatives of power injection w.r.t. voltage.
Calculates faster with numba and sparse matrices.
Expand Down

0 comments on commit 26d1608

Please sign in to comment.