premgopalan / svinet

Efficient discovery of overlapping communities in massive networks PK Gopalan, DM Blei Proceedings of the National Academy of Sciences 110 (36), 14534-14539
GNU General Public License v3.0
74 stars 35 forks source link

"int THRESH = 0.99" - changes value from 0.99 to 0 #5

Closed nno closed 10 years ago

nno commented 10 years ago

Compiling using Mac OS 10.9 gives the following warning:

"In file included from main.cc:6: ./fastamm2.hh:222:38: warning: implicit conversion from 'double' to 'unsigned int' changes value from 0.99 to 0 [-Wliteral-conversion] static const unsigned int THRESH = 0.99;"

premgopalan commented 10 years ago

thanks nikolaas! i've removed the obviously broken line -- it was unused anyway.

On Tue, Mar 25, 2014 at 10:35 AM, Nikolaas N. Oosterhof < notifications@github.com> wrote:

Compiling using Mac OS 10.9 gives the following warning:

"In file included from main.cc:6: ./fastamm2.hh:222:38: warning: implicit conversion from 'double' to 'unsigned int' changes value from 0.99 to 0 [-Wliteral-conversion] static const unsigned int THRESH = 0.99;"

Reply to this email directly or view it on GitHubhttps://github.com/premgopalan/svinet/issues/5 .

nno commented 10 years ago

You're welcome, thanks for the quick reply and fix.