Skip to content

Commit

Permalink
Updated error messages.
Browse files Browse the repository at this point in the history
Closes #280.
  • Loading branch information
jeromekelleher committed Jan 15, 2018
1 parent 491c94d commit 4360ca7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/msprime.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ msp_strerror(int err)
ret = "All edges for a given parent must be contiguous";
break;
case MSP_ERR_EDGES_NOT_SORTED_CHILD:
ret = "Edges must be listed in (time[parent], parent, child, left) order;"
ret = "Edges must be listed in (time[parent], child, left) order;"
" child order violated";
break;
case MSP_ERR_EDGES_NOT_SORTED_LEFT:
ret = "Edges must be listed in (time[parent], parent, child, left) order;"
ret = "Edges must be listed in (time[parent], child, left) order;"
" left order violated";
break;
case MSP_ERR_NULL_PARENT:
Expand Down

0 comments on commit 4360ca7

Please sign in to comment.