You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the datatype simplification for numbers in pellet (see com.clarkparsia.pellet.datatypes.OWLRealUtils.getCanonicalObject(Number)) the method isDifferent in class org.mindswap.pellet.Literal might return wrong results for numeric literals. I've observed this behavior for 2 literals where one literal represented the value 0 using the java class Byte and one literal representing the value 200 using the java class Short. Due to the different classes the check within isDifferent always returns false:
Due to the datatype simplification for numbers in pellet (see
com.clarkparsia.pellet.datatypes.OWLRealUtils.getCanonicalObject(Number)
) the methodisDifferent
in classorg.mindswap.pellet.Literal
might return wrong results for numeric literals. I've observed this behavior for 2 literals where one literal represented the value0
using the java classByte
and one literal representing the value200
using the java classShort
. Due to the different classes the check withinisDifferent
always returns false:so
0
and200
are not threated as different and are even considered for merging.The text was updated successfully, but these errors were encountered: