You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/github/workspace/src/cart_cell.cc:23:1: warning: #includes are not sorted properly [llvm-include-order]
6
-
23 | #include <algorithm>
7
-
| ^ ~~~~~~~~~~~
8
-
| "hyperparams.h"
9
-
24 | #include <cstdint>
10
-
| ~~~~~~~~~
11
-
| "tumor_cell.h"
12
-
25 | #include <stdexcept>
13
-
| ~~~~~~~~~~~
14
-
| "utils_aux.h"
15
-
26 | #include <string>
16
-
| ~~~~~~~~
17
-
| <algorithm>
18
-
27 | #include "hyperparams.h"
19
-
| ~~~~~~~~~~~~~~~
20
-
| <cstdint>
21
-
28 | #include "tumor_cell.h"
22
-
| ~~~~~~~~~~~~~~
23
-
| <stdexcept>
24
-
29 | #include "utils_aux.h"
25
-
| ~~~~~~~~~~~~~
26
-
| <string>
27
5
/github/workspace/src/cart_cell.cc:33:1: warning: constructor does not initialize these fields: current_live_time_, fluid_fraction_, nuclear_volume_, target_cytoplasm_solid_, target_nucleus_solid_, target_fraction_fluid_, target_relation_cytoplasm_nucleus_, oxygen_consumption_rate_, immunostimulatory_factor_secretion_rate_, constant1_oxygen_, constant2_oxygen_ [cppcoreguidelines-pro-type-member-init]
28
6
33 | CartCell::CartCell(const Real3& position) {
29
7
| ^
30
-
/github/workspace/src/cart_cell.cc:33:26: warning: no header providing "bdm::Real3" is directly included [misc-include-cleaner]
31
-
27 | #include "hyperparams.h"
32
-
28 | #include "tumor_cell.h"
33
-
29 | #include "utils_aux.h"
34
-
30 |
35
-
31 | namespace bdm {
36
-
32 |
37
-
33 | CartCell::CartCell(const Real3& position) {
38
-
| ^
39
8
/github/workspace/src/cart_cell.cc:36:3: warning: 'state_' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer]
/github/workspace/src/cart_cell.cc:87:5: warning: 3 adjacent parameters of 'ChangeVolumeExponentialRelaxationEquation' of similar type ('real_t') are easily swapped by mistake [bugprone-easily-swappable-parameters]
/github/workspace/src/cart_cell.cc:141:3: warning: variable 'new_fraction_fluid' of type 'real_t' (aka 'double') can be declared 'const' [misc-const-correctness]
/github/workspace/src/cart_cell.cc:141:44: warning: 1e-16 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
/github/workspace/src/cart_cell.cc:206:42: warning: 2 adjacent parameters of 'ConsumeSecreteSubstance' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters]
/github/workspace/src/cart_cell.cc:207:42: note: 'int' and 'real_t' may be implicitly converted: 'int' -> 'real_t' (as 'double'), 'real_t' (as 'double') -> 'int'
157
-
207 | real_t old_concentration) {
158
-
| ^
159
90
/github/workspace/src/cart_cell.cc:208:10: warning: variable 'res' is not initialized [cppcoreguidelines-init-variables]
/github/workspace/src/cart_cell.cc:264:26: warning: 1e-10 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
168
-
264 | 1e-10)) { // Probability of death= 1/CurrentLiveTime,
169
-
| ^
170
98
/github/workspace/src/cart_cell.cc:294:29: warning: narrowing conversion from 'real_t' (aka 'double') to 'int' [bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions]
0 commit comments