changed calls to Dist

This commit is contained in:
ganovelli 2004-05-12 18:50:58 +00:00
parent 76051030e2
commit 2739634d38
1 changed files with 5 additions and 2 deletions

View File

@ -24,6 +24,9 @@
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.2 2004/05/11 14:33:46 ganovelli
changed to grid_static_obj to grid_static_ptr
Revision 1.1 2004/05/10 14:44:13 ganovelli Revision 1.1 2004/05/10 14:44:13 ganovelli
created created
@ -470,9 +473,9 @@ public:
else if(size[2]>eps) else if(size[2]>eps)
dim[2] = int(ncell); dim[2] = int(ncell);
} }
dim[0] = math::Max(dim[0],0); dim[0] = math::Max(dim[0],1);
dim[1] = math::Max(dim[1],1); dim[1] = math::Max(dim[1],1);
dim[2] = math::Max(dim[2],2); dim[2] = math::Max(dim[2],1);
} }