Open e-kwsm opened 7 years ago
@e-kwsm don't think you can introduce exceptions into existing code like that. also, there is the runtime check cost. Instead, would recommend adding documentation on the behavior in case of invalid probability values.