espressomd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ESPResSo-devel] [bug #42069] statistics_correlation.c:161: possible typ


From: David Binderman
Subject: [ESPResSo-devel] [bug #42069] statistics_correlation.c:161: possible typo ?
Date: Mon, 07 Apr 2014 18:18:51 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0

URL:
  <http://savannah.nongnu.org/bugs/?42069>

                 Summary: statistics_correlation.c:161: possible typo ?
                 Project: ESPResSo
            Submitted by: dcb314
            Submitted on: Mon 07 Apr 2014 18:18:50 GMT
                Category: None
                Severity: 3 - Normal
                  Status: None
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
           Fixed Release: None

    _______________________________________________________

Details:

[../../src/statistics_correlation.c:161]: (error) Invalid abs() argument nr 1.
A non-boolean value is required.

Source code is

  if ( abs(dt/time_step - round(dt/time_step)>1e-6 ) )
    return 16;

Maybe 

  if ( abs(dt / time_step - round(dt / time_step)) > 1e-6)
    return 16;

was intended.






    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?42069>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]