Index: src/jacobian.cpp =================================================================== --- src/jacobian.cpp (revision 29864) +++ src/jacobian.cpp (working copy) @@ -53,6 +53,14 @@ delete [] twists; } + void Jacobian::resize(unsigned int newSize, unsigned int newNr) + { + delete [] twists; + twists = new Twist[newSize*newNr]; + size = newSize; + nr_blocks = newNr; + } + double Jacobian::operator()(int i,int j)const { assert(i<6*nr_blocks&&j