reductionista commented on a change in pull request #486: Graph: Filter out
infinite paths
URL: https://github.com/apache/madlib/pull/486#discussion_r390060407
##########
File path: src/ports/postgres/modules/graph/test/measures.sql_in
##########
@@ -86,7 +86,7 @@ SELECT assert(diameter=14, 'Invalid value for diameter')
FROM public.__madlib__o
DROP TABLE IF EXISTS public.__madlib__out_avg_path_length;
SELECT graph_avg_path_length('out_apsp',
'public.__madlib__out_avg_path_length');
SELECT * FROM public.__madlib__out_avg_path_length;
-SELECT assert(relative_error(avg_path_length, 2.0178) < 1e-2,
+SELECT assert(relative_error(avg_path_length, 2.97) < 1e-2,
Review comment:
I guess this may answer my question about avg path length--leaving it there
just in case.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services