-
Notifications
You must be signed in to change notification settings - Fork 69
Specset flavor converters #1498
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
Specset flavor converters #1498
Conversation
cyrush
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look good, a few comments to address.
| const int64_accessor sbm_eids = mapitem.second.first; | ||
| const float64_accessor sbm_vals = mapitem.second.second; | ||
|
|
||
| destination[matname].set(DataType::float64(num_elems)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should already init to 0.0, not sure we need the fill?
Can we double check?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this guaranteed? I went down into the weeds of conduit_utils and it looks like allocation is configurable, and need not be calloc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you know if this is for sure?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll merge after you let me know one way or the other.
cyrush
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Resolves #1349