|
7 | 7 | #include "forward_pass/affine/test_add.h" |
8 | 8 | #include "forward_pass/affine/test_broadcast.h" |
9 | 9 | #include "forward_pass/affine/test_hstack.h" |
10 | | -#include "forward_pass/affine/test_vstack.h" |
11 | 10 | #include "forward_pass/affine/test_linear_op.h" |
12 | 11 | #include "forward_pass/affine/test_neg.h" |
13 | 12 | #include "forward_pass/affine/test_promote.h" |
14 | 13 | #include "forward_pass/affine/test_sum.h" |
15 | 14 | #include "forward_pass/affine/test_variable_constant.h" |
| 15 | +#include "forward_pass/affine/test_vstack.h" |
16 | 16 | #include "forward_pass/composite/test_composite.h" |
17 | 17 | #include "forward_pass/elementwise/test_exp.h" |
18 | 18 | #include "forward_pass/elementwise/test_log.h" |
|
27 | 27 | #include "jacobian_tests/test_const_vector_mult.h" |
28 | 28 | #include "jacobian_tests/test_elementwise_mult.h" |
29 | 29 | #include "jacobian_tests/test_hstack.h" |
30 | | -#include "jacobian_tests/test_vstack.h" |
31 | 30 | #include "jacobian_tests/test_index.h" |
32 | 31 | #include "jacobian_tests/test_left_matmul.h" |
33 | 32 | #include "jacobian_tests/test_log.h" |
|
46 | 45 | #include "jacobian_tests/test_sum.h" |
47 | 46 | #include "jacobian_tests/test_trace.h" |
48 | 47 | #include "jacobian_tests/test_transpose.h" |
| 48 | +#include "jacobian_tests/test_vstack.h" |
| 49 | +#include "numerical_diff/test_numerical_diff.h" |
49 | 50 | #include "problem/test_problem.h" |
50 | 51 | #include "utils/test_cblas.h" |
51 | 52 | #include "utils/test_coo_matrix.h" |
|
66 | 67 | #include "wsum_hess/test_const_scalar_mult.h" |
67 | 68 | #include "wsum_hess/test_const_vector_mult.h" |
68 | 69 | #include "wsum_hess/test_hstack.h" |
69 | | -#include "wsum_hess/test_vstack.h" |
70 | 70 | #include "wsum_hess/test_index.h" |
71 | 71 | #include "wsum_hess/test_left_matmul.h" |
72 | 72 | #include "wsum_hess/test_matmul.h" |
|
83 | 83 | #include "wsum_hess/test_sum.h" |
84 | 84 | #include "wsum_hess/test_trace.h" |
85 | 85 | #include "wsum_hess/test_transpose.h" |
| 86 | +#include "wsum_hess/test_vstack.h" |
86 | 87 | #endif /* PROFILE_ONLY */ |
87 | 88 |
|
88 | 89 | #ifdef PROFILE_ONLY |
@@ -297,6 +298,9 @@ int main(void) |
297 | 298 | mu_run_test(test_dense_matrix_trans, tests_run); |
298 | 299 | mu_run_test(test_sparse_vs_dense_mult_vec_blocks, tests_run); |
299 | 300 |
|
| 301 | + printf("\n--- Numerical Diff Tests ---\n"); |
| 302 | + mu_run_test(test_check_jacobian_composite_log, tests_run); |
| 303 | + |
300 | 304 | printf("\n--- Problem Struct Tests ---\n"); |
301 | 305 | mu_run_test(test_problem_new_free, tests_run); |
302 | 306 | mu_run_test(test_problem_objective_forward, tests_run); |
|
0 commit comments