Skip to content

Commit

Permalink
Fix bug in synth experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
pbloem committed Oct 28, 2016
1 parent d10f0b2 commit b0e4ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/nl/peterbloem/motive/exec/Synthetic.java
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ private double absMax(List<Double> values)
public void run(int numInstances, int run)
{
// * Sample the compressed graph
UGraph<String> graph = RandomGraphs.random(n - numInstances * (sub.size() - 1), m - numInstances * sub.numLinks());
UGraph<String> graph = RandomGraphs.random(n - numInstances * (sub.size() - 1), m - numInstances * (int)sub.numLinks());

Global.log().info("Finished sampling subbed graph");

Expand Down

0 comments on commit b0e4ad6

Please sign in to comment.