On Tue, Jul 03, 2007 at 06:17:57PM +0900, MATSUDA, Noriyuki wrote:
Hi Garbar:
Thank you for the prompt rescue.
At 11:00 AM +0200 07.7.3, Gabor Csardi wrote:
[...]
> if (unique(sapply(graphs, is.directed))) {
> stop("You can't mix directed and undirected graphs")
> }
Hmmm, a mistake here, this should be
if (length(unique(sapply(graphs, is.directed)))==2) {
Hopefully otherwise it is ok.
Gabor
--
Csardi Gabor <address@hidden> MTA RMKI, ELTE TTK
_______________________________________________
igraph-help mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/igraph-help