Commit 07fdd286 authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

don't resize arrays to 0

parent d9bd5a10
......@@ -393,6 +393,9 @@ size_t modelfiler :: copyArrays(const std::string&name, const std::string*tablen
std::vector<gem::RTE::Array> tabs;
size_t size = data.size();
if(!size)
return size;
for(size_t i=0; i<count; i++) {
gem::RTE::Array a(tablenames[i]);
a.resize(size);
......
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