-
Notifications
You must be signed in to change notification settings - Fork 0
Compilation fails (passing address of temporary) #3
Copy link
Copy link
Open
Description
I need this patch to compile under Linux, g++ (Ubuntu/Linaro 4.7.3-1ubuntu1)
4.7.3. Also had to chmod +x src/parser/replacefolcpp.pl and
src/parser/replacefoly.pl.
Index: src/liftedinfer/common/src/queryupdater.cpp
===================================================================
--- src/liftedinfer/common/src/queryupdater.cpp (revision 7)
+++ src/liftedinfer/common/src/queryupdater.cpp (working copy)
@@ -508,7 +508,8 @@
{
if(!values[i])
{
-
rbestimates->incrementValue(keys[i],&(LogDouble(0.5,false)));
+ LogDouble tmp(0.5,false);
+ rbestimates->incrementValue(keys[i],&tmp);
}
lvrAtomHashUpdateFlags->setValue(keys[i],false);
}
Original issue reported on code.google.com by earthwi...@gentoo.org on 29 Sep 2013 at 7:38
Reactions are currently unavailable