Making the learner a dynamic switch rather than a compile time switch.
[charm.git] / src / ck-com / AAMLearner.C
index efca2ac96059d4a147aa414e82d4343ce536a991..72a13dd2722283a2d8f42d5e8c00ac24d4d63f5b 100644 (file)
@@ -69,6 +69,7 @@ Strategy *AAMLearner::optimizePattern(Strategy *strat,
         */
         
         ostrat->setInstance(in_strat->getInstance());
+        ((EachToManyMulticastStrategy *)ostrat)->enableLearning();
     }
     else
         CkAbort("Groups Not Implemented Yet\n");