diff --git a/lib/src/matrix/matrix.dart b/lib/src/matrix/matrix.dart index de39f4a..40ac0f8 100644 --- a/lib/src/matrix/matrix.dart +++ b/lib/src/matrix/matrix.dart @@ -28,8 +28,6 @@ abstract class Matrix implements Storage { ArgumentError.checkNotNull(dataType, 'dataType'); RangeError.checkNotNegative(rowCount, 'rowCount'); RangeError.checkNotNegative(columnCount, 'columnCount'); - // https://github.com/dart-lang/sdk/issues/49188: - // ignore: missing_enum_constant_in_switch switch (format ?? MatrixFormat.standard) { case MatrixFormat.rowMajor: return RowMajorMatrix(dataType, rowCount, columnCount); diff --git a/lib/src/polynomial/polynomial.dart b/lib/src/polynomial/polynomial.dart index 2fbd6eb..0f9f09b 100644 --- a/lib/src/polynomial/polynomial.dart +++ b/lib/src/polynomial/polynomial.dart @@ -23,8 +23,6 @@ abstract class Polynomial implements Storage { factory Polynomial(DataType dataType, {int desiredDegree = -1, PolynomialFormat? format}) { ArgumentError.checkNotNull(dataType, 'dataType'); - // https://github.com/dart-lang/sdk/issues/49188: - // ignore: missing_enum_constant_in_switch switch (format ?? PolynomialFormat.standard) { case PolynomialFormat.list: return ListPolynomial(dataType, desiredDegree); diff --git a/lib/src/vector/vector.dart b/lib/src/vector/vector.dart index 7a0106e..811ac8a 100644 --- a/lib/src/vector/vector.dart +++ b/lib/src/vector/vector.dart @@ -20,8 +20,6 @@ abstract class Vector implements Storage { factory Vector(DataType dataType, int count, {VectorFormat? format}) { ArgumentError.checkNotNull(dataType, 'dataType'); RangeError.checkNotNegative(count, 'count'); - // https://github.com/dart-lang/sdk/issues/49188: - // ignore: missing_enum_constant_in_switch switch (format ?? VectorFormat.standard) { case VectorFormat.list: return ListVector(dataType, count);