dclamage / SudokuSolver

GNU General Public License v3.0
50 stars 24 forks source link

Fix NullReferenceException in OrthogonalValueConstraint #107

Closed yusitnikov closed 1 year ago

yusitnikov commented 1 year ago

Type reflection doesn't work in the final builds (despite working locally): GetType().GetConstructor() returns null in OrthogonalValueConstraint.SplitToPrimitives. Fixed it by replacing reflection with abstract methods.