improve JT
fix graph compatibility with SICStus re-export declaration. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2037 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -154,7 +154,7 @@ add_empty_vertices([V|G], [V-[]|NG]) :-
|
||||
%
|
||||
% unmark a set of vertices plus all edges leading to them.
|
||||
%
|
||||
del_vertices(Vertices, Graph, NewGraph) :-
|
||||
del_vertices(Graph, Vertices, NewGraph) :-
|
||||
msort(Vertices, V1),
|
||||
(V1 = [] -> Graph = NewGraph ;
|
||||
del_vertices(Graph, V1, V1, NewGraph) ).
|
||||
|
Reference in New Issue
Block a user