-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broadcast scalar input variable values to expected array structure #556
Conversation
@hellkite500 I opened this PR at Matt's request to separate it for easier review from #534. As we discussed, there need to be better guard rails and/or reporting that this is happening, so that it doesn't silently trip anyone up. |
The added warning about the broadcasting appears this many times in the tests:
|
593b534
to
23174f4
Compare
(rebased, and we now get 100% test pass) |
This seems perfectly sound other than the philosophical question of whether we should be doing it... which (for the record) remains undecided. Approving this in any case though because the existing code produces undefined behavior which is decidedly worse. |
Extracted from #534 to more directly clear the way for #536
Fixes #541, #549
Fixes a number of invalid memory access resulting from the receiving model trying to read more data that the framework is providing.
When built and configured with
export CXXFLAGS="-g -fsanitize=address" CFLAGS="-g -fsanitize=address" FFLAGS="-g"
,ctest
reports as followsChanges
Notes
Checklist