Verified Commit 41ef81d2 authored by Romain De Laage De Bellefaye's avatar Romain De Laage De Bellefaye 🌳
Browse files

remove debug print

parent 63a20552
......@@ -105,7 +105,6 @@ class Automate {
nextTimer();
itBuffer++;
AutoCell::getInstance().afficherGrille(&*itBuffer);
std::cout << buffer.size() << std::endl;
}
/// Execution multiple de la méthode step
void run(int n) {
......
......@@ -67,7 +67,6 @@ AutoCell::AutoCell(QWidget* parent):QWidget(parent)
std::vector<QString> noms_modeles = Database::getInstance().getAutomates();
for(size_t i = 0 ; i<noms_modeles.size() ; i++){
std::cout<<"modele :"<<noms_modeles[i].toStdString()<<std::endl;
liste->addItem(noms_modeles[i]);
}
......
......@@ -212,7 +212,6 @@ std::vector<QString> Database::getListeReseaux(const QString& name) const
query.bindValue(":nom", name);
query.exec();
std::cout<<query.lastError().text().toStdString()<<std::endl;
std::vector<QString> names;
if(!query.first())
......
......@@ -31,8 +31,6 @@ void RegleVoisinageMoore::calculVoisinage(Voisinage& v, const Reseau& r) const {
int hauteur = r.getHauteur();
int largeur = r.getLargeur();
std::cout << "hauteur" << hauteur << "largeur" << largeur << std::endl;
for (int i = -static_cast<int>(rayon); i <= static_cast<int>(rayon); i++)
for (int j = -static_cast<int>(rayon); j <= static_cast<int>(rayon); j++)
if (abs(i) <= static_cast<int>(rayon) && abs(j) <= static_cast<int>(rayon) && i != 0 && j != 0)
......
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