improvement but not yet a fix

This commit is contained in:
Andreas Fabri 2024-05-16 08:04:32 +01:00
parent 195001267f
commit 2d455ebf57
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ operator<<(std::ostream &os, const Triangulation_on_sphere_face_base_2<Gt, Fb> &
{ {
// non combinatorial information. Default = point // non combinatorial information. Default = point
os << static_cast<const Fb&>(f); os << static_cast<const Fb&>(f);
os << f.is_ghost() ? " 0" : " 1"; os << (f.is_ghost() ? " 1" : " 0");
return os; return os;
} }

View File

@ -38,7 +38,7 @@ int main(int, char**)
std::cout << dtos.number_of_solid_faces() << " solid faces" << std::endl; std::cout << dtos.number_of_solid_faces() << " solid faces" << std::endl;
std::cout << dtos.number_of_ghost_faces() << " ghost faces" << std::endl; std::cout << dtos.number_of_ghost_faces() << " ghost faces" << std::endl;
} }
assert(dtos.is_valid());
std::ofstream out("dtos.txt"); std::ofstream out("dtos.txt");
out.precision(17); out.precision(17);
out << dtos << std::endl; out << dtos << std::endl;