Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mgiza.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mgizapp/src/hmm.cpp')
-rw-r--r--mgizapp/src/hmm.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/mgizapp/src/hmm.cpp b/mgizapp/src/hmm.cpp
index a5f33cb..3b104a3 100644
--- a/mgizapp/src/hmm.cpp
+++ b/mgizapp/src/hmm.cpp
@@ -478,7 +478,12 @@ void hmm::em_loop(Perplexity& perp, sentenceHandler& sHandler1,
CLASSIFY(i,i_empty,ireal);
bi[i]+= *gp2;
}
+#ifdef WIN32
bi0.second->unlock();
+#else
+ bi0.second.unlock();
+#endif
+
if( Verbose )
cout << "l: " << l << "m: " << m << " p0c: " << p0c << " np0c: " << np0c << endl;
}