TypiClust icon indicating copy to clipboard operation
TypiClust copied to clipboard

CoreSetMIPSampling class hangs when lSet is empty

Open Fsssshuo opened this issue 10 months ago • 0 comments

Issue Description: When using the query method of the CoreSetMIPSampling class, if the lSet parameter is empty, the program enters an infinite wait state and hangs. This occurs during the call to the getrepresentation method, which expects a non-empty set of indices.

Suggested Fix: Before calling the getrepresentation method, a check should be added to determine if lSet is empty. If it is, an alternative index set (e.g., uSet) should be used to obtain the representation.

Fsssshuo avatar Mar 05 '25 08:03 Fsssshuo