charles-river-analytics / figaro

Figaro Programming Language and Core Libraries
Other
756 stars 151 forks source link

Distribution method in StructuredProbQueryAlgorithm needs different signature #713

Closed wkretschmer closed 6 years ago

wkretschmer commented 7 years ago

A method in StructuredProbQueryAlgorithm was recently added to return problem components for particular elements. The signature of this method conflicts with the regular distribution method in ProbQueryAlgorithm, which makes it impossible to call the regular distribution method on a single element.

gtakata commented 7 years ago

This was written as an adjunct to the Development Environment. It has been in place for some time and hasn't presented problems in the past.

I will check this.