From 9b390c06f9f152be105894b6cc80799f43cd3ae3 Mon Sep 17 00:00:00 2001 From: Lauffenburger Thomas Date: Tue, 6 Jun 2017 09:34:52 +0200 Subject: [PATCH] Fix a pb with recursively redundant links Signed-off-by: Ovidiu Mircescu --- src/engine/Bloc_impl.cxx | 1 + src/engine/SetOfPoints.cxx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/Bloc_impl.cxx b/src/engine/Bloc_impl.cxx index d3f3c6f83..ba636e442 100644 --- a/src/engine/Bloc_impl.cxx +++ b/src/engine/Bloc_impl.cxx @@ -86,6 +86,7 @@ void Bloc::fitToPlayGround(const PlayGround *pg) }; YACS::BASES::AutoRefCnt pd(new AllPartDefinition(pg,1)); std::map > zeMap; + this->removeRecursivelyRedundantCL(); this->partitionRegardingDPL(pd,zeMap); MyVisitor vis(this); this->accept(&vis); diff --git a/src/engine/SetOfPoints.cxx b/src/engine/SetOfPoints.cxx index e869b88ca..39d787168 100644 --- a/src/engine/SetOfPoints.cxx +++ b/src/engine/SetOfPoints.cxx @@ -61,7 +61,7 @@ void SetOfPoints::simplify() continue; _bp->deal2Ter(somethingDone); if(!somethingDone) - throw Exception("SetOfPoints::simplify : not implemented yet !"); + throw Exception("SetOfPoints::simplify : not implemented yet !\nPlease check if there are any recursively redundant links (can be removed by removeRecursivelyRedundantCL method)."); } } -- 2.39.2