mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Fix bug in read_attribute
This commit is contained in:
parent
de87c10982
commit
6f04f9ce2c
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ struct H5TypeMap { static const hid_t type_id; };
|
||||||
template<typename T>
|
template<typename T>
|
||||||
void read_attribute(hid_t obj_id, const char* name, T& buffer)
|
void read_attribute(hid_t obj_id, const char* name, T& buffer)
|
||||||
{
|
{
|
||||||
read_attr(obj_id, name, H5TypeMap<T>::type_id, buffer);
|
read_attr(obj_id, name, H5TypeMap<T>::type_id, &buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
// vector version
|
// vector version
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue