Skip to content

Commit b453e75

Browse files
committed
kHalf
1 parent aa45dc4 commit b453e75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tumor_cell.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ void TumorCell::Initialize(const NewAgentEvent& event) {
116116
this->ComputeConstantsConsumptionSecretion();
117117

118118
// divide mother's nuclear volume by 2
119-
const real_t new_nuclear_volume = mother->GetNuclearVolume() / 2.0;
119+
const real_t new_nuclear_volume = mother->GetNuclearVolume() / kHalf;
120120
// Set mother's nuclear volume to the new volume
121121
mother->SetNuclearVolume(new_nuclear_volume);
122122
this->SetNuclearVolume(new_nuclear_volume);

0 commit comments

Comments
 (0)