Skip to content

Commit

Permalink
Fix empty RAG error with conversion, 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jni committed Jun 16, 2015
1 parent a31ca50 commit ddfa94e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gala/agglo.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ class Rag(Graph):
and *two* nodes, to specify an edge that cannot be merged.
"""

def __init__(self, watershed=array([]), probabilities=array([]),
def __init__(self, watershed=array([], int), probabilities=array([]),
merge_priority_function=boundary_mean,
allow_shared_boundaries=True, gt_vol=None,
feature_manager=features.base.Null(),
Expand Down

0 comments on commit ddfa94e

Please sign in to comment.