replaced turning learning flag off in pattern_present with calling stop_updating() and restore_updating()
replaced turning learning flag off in pattern_present with calling stop_updating() and restore_updating()


ioam/svn-history,ioam/svn-history,ioam/svn-history,ioam/svn-history,ioam/svn-history