Commit 5aa76bc3 authored by Jan Möbius's avatar Jan Möbius
Browse files

Signed vs unsigned fix

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ad32ca02
......@@ -758,15 +758,15 @@ int OctNode<NodeData,Real>::CornerIndex(const Point3D<Real>& center,const Point3
template <class NodeData,class Real>
template<class NodeData2>
OctNode<NodeData,Real>& OctNode<NodeData,Real>::operator = (const OctNode<NodeData2,Real>& node){
int i;
if(children){delete[] children;}
for(i=0;i<DIMENSION;i++){this->offset[i] = node.offset[i];}
for(unsigned int i=0;i<DIMENSION;i++){this->offset[i] = node.offset[i];}
for(i=0;i<Cube::CORNERS;i++){children[i] = node.children[i];}
for(unsigned int i=0;i<Cube::CORNERS;i++){children[i] = node.children[i];}
return *this;
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