Commit ecd1bf5c authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

bug fix Child Intval

parent b2c76895
...@@ -92,8 +92,8 @@ int Intval::Children() const { return 2; } ...@@ -92,8 +92,8 @@ int Intval::Children() const { return 2; }
Point Intval::Child(int i) const { Point Intval::Child(int i) const {
switch(i) { switch(i) {
case 0:return (1.0 / 4.0) * (z(0) + z(1)); case 0:return (3.0 * z(0) + z(1)) / 4.0;
case 1:return (3.0 / 4.0) * (z(0) + z(1)); case 1:return (z(0) + 3.0 * z(1)) / 4.0;
} }
Exit("Not Implemented"); Exit("Not Implemented");
} }
......
Supports Markdown
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