Commit 65e08d33 authored by sbalev's avatar sbalev

Insidious bug: all BaseGenerators have the same sourceId. Fixed.

parent 7afaec32
......@@ -155,7 +155,7 @@ public abstract class BaseGenerator extends SourceBase implements Generator {
* randomly.
*/
public BaseGenerator(boolean directed, boolean randomlyDirectedEdges) {
super(String.format("generator-08x", generatorId++));
super(String.format("generator-%08x", generatorId++));
setDirectedEdges(directed, randomlyDirectedEdges);
nodeAttributeRange[0] = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment