verigraph icon indicating copy to clipboard operation
verigraph copied to clipboard

Unclear preconditions for induceSpanMorphism

Open ggazzi opened this issue 7 years ago • 1 comments

The method induceSpanMorphism of the FindMorphism class will sometimes generate an invalid morphism, since the desired morphism doesn't always exist.

This should be documented, or even better, it should return Nothing when the morphism doesn't exist.

ggazzi avatar Apr 26 '17 21:04 ggazzi

Maybe this function should be moved from FindMorphisms, since it does no implement the "intuitive" behaviour of other functions in that Type Class.

lm-rodrigues avatar May 10 '17 23:05 lm-rodrigues