From 8930efa5060293e92923c33db2d405c05839b7f5 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 21 May 2013 17:20:08 +0000 Subject: [PATCH] fix for VS 2010 --- Geo/GModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Geo/GModel.cpp b/Geo/GModel.cpp index b95b90eb95..c242b7533c 100644 --- a/Geo/GModel.cpp +++ b/Geo/GModel.cpp @@ -3209,7 +3209,7 @@ void GModel::computeHomology() typedef std::pair<std::vector<int>, std::vector<int> > dpair; typedef std::pair<std::string, std::vector<int> > tpair; std::set<dpair> domains; - for(std::map<dpair, tpair>::iterator it = _homologyRequests.begin(); + for(std::multimap<dpair, tpair>::iterator it = _homologyRequests.begin(); it != _homologyRequests.end(); it++) domains.insert(it->first); Msg::Info("Number of cell complexes to construct: %d", domains.size()); -- GitLab