liquid_feedback_core

changeset 431:a1031e47760b

Bugfix in tie-breaking: Type for worst possible link strength must be "link_strength", not "INT8"
author jbe
date Thu May 22 12:38:59 2014 +0200 (2014-05-22)
parents 3031c1973748
children 5676b0d33833
files core.sql
line diff
     1.1 --- a/core.sql	Thu May 22 05:29:28 2014 +0200
     1.2 +++ b/core.sql	Thu May 22 12:38:59 2014 +0200
     1.3 @@ -4102,7 +4102,7 @@
     1.4                      IF "i" != "j" THEN
     1.5                        "matrix_t"["i"]["j"] := CASE
     1.6                           WHEN "matrix_f"["i"]["j"]
     1.7 -                         THEN (-1::INT8) << 63  -- worst possible value
     1.8 +                         THEN ((-1::INT8) << 63, 0)::"link_strength"  -- worst possible value
     1.9                           ELSE "matrix_d"["i"]["j"] END;
    1.10                      END IF;
    1.11                      EXIT WHEN "j" = "dimension_v";

Impressum / About Us