R: layout.spring fails

Bug #1035313 reported by Gábor Csárdi
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
igraph
Fix Released
Medium
Gábor Csárdi

Bug Description

There seems to be a bug in layout.spring(), perhaps a relic of zero-based indexing?

ug0 <- graph.formula(a-b-c-d-b,e)
layout.spring(ug0)
Error in d[1, , ] <- mats :
  number of items to replace is not a multiple of replacement length

Best regards
David Edwards

Revision history for this message
Gábor Csárdi (gabor.csardi) wrote :

This was already fixed before.

Changed in igraph:
status: Confirmed → Fix Released
Revision history for this message
Raffaele Vacca (r-vacca) wrote :

Hi,

does igraph_0.6-3 contain this fix, or will it be included in the next release?

I'm using igraph_0.6-3 but I still get that error with layout.spring().

Revision history for this message
Gábor Csárdi (gabor.csardi) wrote :

igraph 0.6-3 does not fix this, it is just a new build with the same code, for technical reasons. The new release will be 0.6.1 or 0.7, we don't know yet.

Revision history for this message
Gábor Csárdi (gabor.csardi) wrote : Continue on github

The development of igraph has moved to github, so please do not comment on this bug here. You are of course welcome to comment on github, here:
https://github.com/igraph/igraph/issues/230

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.