Skip to content

Fix/ode energy default initialization#186

Merged
MathCancer merged 1 commit intoMathCancer:developmentfrom
vincent-noel:fix/ode_energy_default_initialization
Jul 28, 2023
Merged

Fix/ode energy default initialization#186
MathCancer merged 1 commit intoMathCancer:developmentfrom
vincent-noel:fix/ode_energy_default_initialization

Conversation

@vincent-noel
Copy link
Copy Markdown
Collaborator

Found the issue, it was missing these two lines at the beginning of create_cell_types :

	initialize_default_cell_definition(); 
	cell_defaults.phenotype.secretion.sync_to_microenvironment( &microenvironment ); 

I'm not sure it should be there, or of I need to set the standard plotting functions in another place than initialize_default_cell_definitions.

But if it's not called, then the plotting function pointers are null, and we are not protected against that. So maybe I should add an error message in this case ?

@vincent-noel vincent-noel changed the base branch from master to development July 28, 2023 09:51
@MathCancer MathCancer merged commit b33f286 into MathCancer:development Jul 28, 2023
@vincent-noel vincent-noel deleted the fix/ode_energy_default_initialization branch July 31, 2023 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants