Commit 7caa333e authored by Douglas Serson's avatar Douglas Serson

Fix bug in isocontour

parent 58e4130c
......@@ -138,14 +138,14 @@ class Iso
void resize_fields(int size)
{
if(size > m_x.size()) // add 100 element to vectors
if(size > m_x.size()) // add 1000 element to vectors
{
m_x.resize(size+1000);
m_y.resize(size+1000);
m_z.resize(size+1000);;
for(int i = 0; i < m_fields.size(); ++i)
{
m_fields[i].resize(size+100);
m_fields[i].resize(size+1000);
}
}
......
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