--- a/src/raytracer.cc Fri Nov 23 16:14:38 2007 +0100
+++ b/src/raytracer.cc Sat Nov 24 21:55:41 2007 +0100
@@ -212,7 +212,7 @@
printf("* building kd-tree\n");
//cout << endl;
- static_cast<KdTree*>(top)->optimize();
+ top->optimize();
//static_cast<KdTree*>(top)->save(cout);
//cout << endl;