File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -542,6 +542,7 @@ InstallGlobalFunction( RecogniseGeneric,
542542 IsIdenticalObj( methoddb, FindHomDbProjective ),
543543 knowledge
544544 );
545+ ri!. mandarins := mandarins;
545546 if isSafeForMandarins then
546547 SetFilterObj(ri, IsSafeForMandarins);
547548 fi ;
@@ -596,19 +597,18 @@ InstallGlobalFunction( RecogniseGeneric,
596597 fi ;
597598 fi ;
598599
599- # TODO: store the mandarin SLPs here. Make sure, to only write when succesful.
600- # check mandarins now
600+ # Check mandarins now
601+ mandarinSLPs := [] ;
601602 for x in mandarins do
602603 s := SLPforElement(ri, x);
603604 if s = fail then
604- # TODO: with the master branch rewriting the gens as slps never
605- # fails. at least we never enter a second iteration of the
606- # "recognise image" loop.
607605 Info (InfoRecog, 2 ,
608606 " Enter Mandarin crisis (leaf, depth=" , depth, " )." );
609607 return MANDARIN_CRISIS;
610608 fi ;
609+ Add(mandarinSLPs, s);
611610 od ;
611+ ri!. mandarinSLPs := mandarinSLPs;
612612
613613 if InfoLevel(InfoRecog) = 1 and depth = 0 then Print(" \n " ); fi ;
614614 # StopStoringRandEls(ri);
You can’t perform that action at this time.
0 commit comments