Skip to content

Commit 6679df2

Browse files
committed
fixed memory leak
1 parent ca61c00 commit 6679df2

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
1. power should be double
2-
2. can we reuse calculations, like in hessian of logistic
2+
2. can we reuse calculations, like in hessian of logistic
3+
3. more tests for chain rule elementwise univariate hessian

tests/wsum_hess/test_log.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ const char *test_wsum_hess_log_composite()
8686
cmp_int_array(log_node->wsum_hess->p, expected_p, 6));
8787
mu_assert("cols incorrect",
8888
cmp_int_array(log_node->wsum_hess->i, expected_i, 25));
89+
free_csr_matrix(A_csr);
90+
free_expr(Ax_node);
8991
free_expr(log_node);
9092
free_expr(x);
9193

0 commit comments

Comments
 (0)