Skip to content
Snippets Groups Projects
Commit 354c799b authored by Kevin Howe's avatar Kevin Howe
Browse files

Changed calculation of end_phase so that it is (a) consistent with the

method documentation, and (b) correct.
parent becd2dfc
No related branches found
No related tags found
No related merge requests found
......@@ -155,7 +155,7 @@ sub end_phase {
if( @_ ) {
throw( "End_phase setting not supported" );
}
return (3- $self->phase() + $self->length()) % 3;
return ($self->phase() + $self->length()) % 3;
}
......
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