Skip to content

Commit

Permalink
fix an uninitialized use warning
Browse files Browse the repository at this point in the history
  • Loading branch information
bhaller committed Jul 19, 2024
1 parent c6331cc commit f1b0012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/interaction_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ struct _InteractionsData
bool periodic_y_ = false; // these are in terms of the InteractionType's spatiality, not the simulation's dimensionality!
bool periodic_z_ = false;

double bounds_x1_, bounds_y1_, bounds_z1_; // copied from the Subpopulation; the zero-bound in each dimension is guaranteed to be zero *if* the dimension is periodic
double bounds_x1_ = 0.0, bounds_y1_ = 0.0, bounds_z1_ = 0.0; // copied from the Subpopulation; the zero-bound in each dimension is guaranteed to be zero *if* the dimension is periodic

// individual_count_ * SLIM_MAX_DIMENSIONALITY entries, holding coordinate positions for all subpop individuals regardless of constraints
double *positions_ = nullptr;
Expand Down

0 comments on commit f1b0012

Please sign in to comment.