Fix compile error in Simplex