Skip to content

Initialize M0 and M1 to 0.0 in sootModel_SECT.cc#5

Open
jcc242 wants to merge 1 commit intoBYUignite:masterfrom
jcc242:patch-2
Open

Initialize M0 and M1 to 0.0 in sootModel_SECT.cc#5
jcc242 wants to merge 1 commit intoBYUignite:masterfrom
jcc242:patch-2

Conversation

@jcc242
Copy link

@jcc242 jcc242 commented Feb 2, 2026

The C++ language standard does not guarantee declared double precision floats are initialized to zero. This change ensures that correct M0 and M1 values are computed regardless of compiler implementation.

The C++ language standard does not guarantee declared double precision floats are initialized to zero. This change ensures that correct M0 and M1 values are computed regardless of compiler implementation.
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.

1 participant