An update will be applied January 25th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit 1ff28565 authored by Will Schroeder's avatar Will Schroeder
Browse files

ENH: Fixed coord-sys bug.

parent c3c88a4b
......@@ -152,8 +152,7 @@ void vtkPointLoad::Execute()
for (i=0; i<this->Dimensions[0]; i++)
{
x = (this->Origin[0] + i*this->AspectRatio[0]) - xP[0];
rho = sqrt((x-xP[0])*(x-xP[0]) + (y-xP[1])*(y-xP[1]) +
(z-xP[2])*(z-xP[2]));
rho = sqrt(x*x + y*y + z*z);//in local coordinates
if ( rho < 1.0e-10 )
{
vtkWarningMacro(<<"Attempting to set singularity, resetting");
......
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