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

github.com/moses-smt/nplm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/clipper.h')
-rw-r--r--src/clipper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clipper.h b/src/clipper.h
index dda5c4d..e8c96a6 100644
--- a/src/clipper.h
+++ b/src/clipper.h
@@ -3,7 +3,7 @@
namespace nplm {
struct Clipper{
- double operator() (double x) const {
+ user_data_t operator() (user_data_t x) const {
return std::min(0.5, std::max(x,-0.5));
//return(x);
}