File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 68
68
rates_invalid = reshape (rate_vals, 1 , 8 )
69
69
70
70
# Tests that all input types generates the correct rate matrix.
71
- <<<<<< < HEAD
72
71
@test Catalyst. adjacencymat (rn, rates_vec) == rate_mat
73
72
@test Catalyst. adjacencymat (rn, rates_tup) == rate_mat
74
73
@test Catalyst. adjacencymat (rn, rates_dict) == rate_mat
75
74
@test_throws Exception Catalyst. adjacencymat (rn, rate_vals)
76
- ====== =
77
- Catalyst. ratematrix (rn, rate_vals) == rate_mat
78
- Catalyst. ratematrix (rn, rates_vec) == rate_mat
79
- Catalyst. ratematrix (rn, rates_tup) == rate_mat
80
- Catalyst. ratematrix (rn, rates_dict) == rate_mat
81
75
82
76
# Tests that throws error in rate matrix.
83
77
incorrect_param_dict = Dict (:k1 => 1.0 )
84
78
85
- @test_throws ErrorException Catalyst. ratematrix (rn, 123 )
86
- @test_throws ErrorException Catalyst. ratematrix (rn, incorrect_param_dict)
79
+ @test_throws ErrorException Catalyst. adjacencymat (rn, 123 )
80
+ @test_throws ErrorException Catalyst. adjacencymat (rn, incorrect_param_dict)
87
81
88
- >>>>>> > a309a9e81f964703653d00de2918e77c40f6ba6a
89
82
@test_throws Exception Catalyst. iscomplexbalanced (rn, rates_invalid)
90
83
91
84
# Test sparse matrix
You can’t perform that action at this time.
0 commit comments