commit | 549019792a8b14500cab093ac8f3c5f7331e86d7 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Tue Jul 05 18:46:42 2011 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Tue Jul 05 18:46:42 2011 +0000 |
tree | 0b97ce4f103b4ec4f879bd895616420c540cf9a1 | |
parent | 82c475d0579e2d7519bdf75b3efa44f6b9759c21 [diff] |
Break infinite loop when the Hopfield network oscillates. This is impossible in theory, I can prove it. In practice, our near-zero threshold can cause the network to oscillate between equally good solutions. <rdar://problem/9720596> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134428 91177308-0d34-0410-b5e6-96231b3b80d8