JIProlog

 

Bug in Retract1.java line 72 version 4.1.2.3 ?

7/20/2015 9:47:55 PM
Gravatar
Total Posts 1

Bug in Retract1.java line 72 version 4.1.2.3 ?

I am not sure this is the place to post this but...

In com.ugos.jiprolog.engine.Retract1.java at line 72 the line

en = ((DefaultClausesDatabase)db).clauses(functor);

should probably be 

en = ((JIPClausesDatabase)db).clauses(functor);

to allow a user created in-memory data base to implement their own store structure other than the Vector that is part of DefaultClausesDatabase.

 

Thanks

12/23/2015 12:28:55 PM
Gravatar
Total Posts 11

Re: Bug in Retract1.java line 72 version 4.1.2.3 ?

It has been fixed in the current version on github