Commit 0e324dec authored by Teseo Schneider's avatar Teseo Schneider
Browse files

Merge branch 'dev' of github.com:wildmeshing/fTetWild into dev

parents b1017c4b 9f042505
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -148,13 +148,13 @@ void floatTetWild::optimization(const std::vector<Vector3> &input_vertices, cons

        Scalar max_energy, avg_energy;
        get_max_avg_energy(mesh, max_energy, avg_energy);
        if (max_energy <= mesh.params.stop_energy && it_after_al_inserted > M)
        if (max_energy <= mesh.params.stop_energy && mesh.is_input_all_inserted)
            break;

        if (mesh.params.stop_p > 0) {
            int p = get_max_p(mesh);
            cout << "p = " << p << endl;
            if (p <= mesh.params.stop_p && it_after_al_inserted > M)
            if (p <= mesh.params.stop_p && mesh.is_input_all_inserted)
                break;
        }