Commit 0bbe0a6f authored by Matthieu Boileau's avatar Matthieu Boileau

Fix seg fault for maillage_plot

parent 5f179b56
......@@ -182,6 +182,7 @@ template<class T, int n> void maillage<T, n>::trace() {
std::vector<double> xs(nb_sommets+1);
std::vector<double> ys(nb_sommets+1);
plt::figure(); // sinon: "segmentation fault" sur MacOS
// Tracé des arêtes
for(int i = 0; i < m_nb_mailles; i++) {
T maille = getMaille(i);
......
Markdown is supported
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