Commit 65943ccf authored by ghweber's avatar ghweber
Browse files

Merged bug fix for NumPy reader (C vs. Fortran order array layout) from 2.3RC into trunk.

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@16165 18c085ea-50e0-402c-830e-de6fd14e8384
parent 49dfb647
...@@ -1965,10 +1965,13 @@ avtBOVFileFormat::ReadTOC(void) ...@@ -1965,10 +1965,13 @@ avtBOVFileFormat::ReadTOC(void)
} }
} }
if (fortranOrder) if (!fortranOrder)
{ {
// Instead of reordering data, reorder axes // Instead of reordering data, reorder axes
std::swap(full_size[0], full_size[2]); if (full_size[2] == 1)
std::swap(full_size[0], full_size[1]);
else
std::swap(full_size[0], full_size[2]);
} }
} }
else else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment