Skip to content

Commit b2c0e17

Browse files
authored
Merge pull request #163 from hankliu5/fix_xfile_value_reference
fix missing params for creating xfile_value_reference
2 parents 9a905a1 + e60e824 commit b2c0e17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/xtensor-io/xfile_array.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ namespace xt
536536
template <class... Idxs>
537537
inline auto xfile_array_container<E, IOH>::operator()(Idxs... idxs) -> reference
538538
{
539-
return reference(m_storage(idxs...), m_dirty);
539+
return reference(m_storage(idxs...), m_dirty, m_invalidate);
540540
}
541541

542542
template <class E, class IOH>
@@ -621,7 +621,7 @@ namespace xt
621621
template <class E, class IOH>
622622
inline auto xfile_array_container<E, IOH>::data_element(size_type i) -> reference
623623
{
624-
return reference(m_storage.data_element(i), m_dirty);
624+
return reference(m_storage.data_element(i), m_dirty, m_invalidate);
625625
}
626626

627627
template <class E, class IOH>

0 commit comments

Comments
 (0)