We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a46757b commit 8cd8993Copy full SHA for 8cd8993
1 file changed
src/kg/include/kg/io/FileAdios2.inl
@@ -72,7 +72,7 @@ inline void FileAdios2::putVariable(const std::string& name, const T* data,
72
if (!selection.start.empty()) {
73
v.SetSelection({selection.start, selection.count});
74
} else {
75
- if (!shape.empty()) {
+ if (!shape.empty() && shape[0] != LocalValueDim) {
76
v.SetSelection({kg::io::Dims({0}), shape});
77
}
78
0 commit comments