Skip to content

Initialize values in our test instantiations#28

Merged
roystgnr merged 1 commit intolibMesh:masterfrom
roystgnr:instantiate_initialized
Jul 5, 2022
Merged

Initialize values in our test instantiations#28
roystgnr merged 1 commit intolibMesh:masterfrom
roystgnr:instantiate_initialized

Conversation

@roystgnr
Copy link
Copy Markdown
Member

@roystgnr roystgnr commented Jul 5, 2022

We do want to allow our numeric classes to have uninitialized
instantiations, because every operation here counts and because we want
them to behave like built-in numeric types in that respect.

But in a test where we're going to output their values, we really need
to instantiate them.

This fixes a bug for me where every several dozen runs was kicking up
SIGFPE.

We do want to allow our numeric classes to have uninitialized
instantiations, because every operation here counts and because we want
them to behave like built-in numeric types in that respect.

But in a test where we're going to *output* their values, we really need
to instantiate them.

This fixes a bug for me where every several dozen runs was kicking up
SIGFPE.
@roystgnr
Copy link
Copy Markdown
Member Author

roystgnr commented Jul 5, 2022

At some point our Test mac conda environment lost autoreconf; merging anyway so we can go downstream without waiting for the environment fixes.

@roystgnr roystgnr merged commit 70437e6 into libMesh:master Jul 5, 2022
@roystgnr roystgnr deleted the instantiate_initialized branch July 5, 2022 18:41
roystgnr added a commit to roystgnr/libmesh that referenced this pull request Jul 5, 2022
This picks up libMesh/MetaPhysicL#28 and so
should hopefully end our intermittent CI failures.
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