Commit 9bd1a815 authored by Will Schroeder's avatar Will Schroeder
Browse files

ERR: Bad parameter.

parent 85493374
......@@ -446,7 +446,7 @@ void vtkPointData::NullPoint (int ptId)
if ( this->Tensors )
{
this->Tensors->InsertTensor(ptId,nullTensor);
this->Tensors->InsertTensor(ptId,&nullTensor);
}
if ( this->UserDefined )
......
......@@ -41,7 +41,7 @@ void vtkTensors::InsertTensor(int id, float t11, float t12, float t13,
t.SetComponent(2,1,t32);
t.SetComponent(2,2,t33);
this->InsertTensor(id,t);
this->InsertTensor(id,&t);
}
int vtkTensors::InsertNextTensor(float t11, float t12, float t13,
......@@ -59,7 +59,7 @@ int vtkTensors::InsertNextTensor(float t11, float t12, float t13,
t.SetComponent(2,1,t32);
t.SetComponent(2,2,t33);
return this->InsertNextTensor(t);
return this->InsertNextTensor(&t);
}
// Description:
......
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