algorithmfoundry / Foundry

The Cognitive Foundry is an open-source Java library for building intelligent systems using machine learning
Other
131 stars 41 forks source link

HELP! (Please) LinearDiscriminantWithBias not compiling evaluate() method #61

Closed cogmission closed 8 years ago

cogmission commented 8 years ago

Method references interface that has no implementation! Please help... I can't resolve the implementation within Eclipse.

mvn clean test executes fine...? But I can't compile within my IDE?

Line: 101 gov.sandia.cognition.learning.function.scalar.LinearDiscriminantWithBias.evaluate()

The line calls super.evaluate() but the super implementation is just an interface!?

Please help ?

jbasilico commented 8 years ago

Strange that it compiled in ant, maven, and NetBeans but not Eclipse. But it is fixed now.

cogmission commented 8 years ago

@jbasilico I think it may be an artifact of Java 8 adherence due to the new need to resolve across default interfaces? Eclipse's compiler always seems to go the "extra" mile (which is not always a good thing...). I've had things that compile in Eclipse that don't compile with javac! :-)

Anyway, thanks for your prompt solution!