Skip to content

Commit 4843874

Browse files
committed
Update BioFVM_basic_agent.cpp
Changed defaults in BioFVM Basic Agents so that cells ingest not just cell volume, but also internalized substrates by default. This is in response to Issue #307
1 parent ac68650 commit 4843874

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

BioFVM/BioFVM_basic_agent.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Basic_Agent::Basic_Agent()
7878

7979
internalized_substrates = new std::vector<double>(0); //
8080
fraction_released_at_death = new std::vector<double>(0);
81-
fraction_transferred_when_ingested = new std::vector<double>(0);
81+
fraction_transferred_when_ingested = new std::vector<double>(1.0);
8282
register_microenvironment( get_default_microenvironment() );
8383

8484
// these are done in register_microenvironment
@@ -190,7 +190,7 @@ void Basic_Agent::register_microenvironment( Microenvironment* microenvironment_
190190
total_extracellular_substrate_change.resize( microenvironment->density_vector(0).size() , 1.0 );
191191

192192
fraction_released_at_death->resize( microenvironment->density_vector(0).size() , 0.0 );
193-
fraction_transferred_when_ingested->resize( microenvironment->density_vector(0).size() , 0.0 );
193+
fraction_transferred_when_ingested->resize( microenvironment->density_vector(0).size() , 1.0 );
194194

195195
return;
196196
}

0 commit comments

Comments
 (0)