Skip to content

Commit d306cb0

Browse files
committed
readme
1 parent eae37c0 commit d306cb0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ from tiny_solver import Problem, GaussNewtonOptimizer
111111
from tiny_solver.factors import PriorFactor, PyFactor
112112

113113
# define custom cost function in python
114+
# the trade off is the jacobian for the problem cannot be done in parallel
115+
# because of gil
114116
def cost(x: np.ndarray, yz: np.ndarray) -> np.ndarray:
115117
r0 = x[0] + 2 * yz[0] + 4 * yz[1]
116118
r1 = yz[0] * yz[0]

0 commit comments

Comments
 (0)