From 3c93c7a46965de5b082bf318b540f794ee76586f Mon Sep 17 00:00:00 2001 From: Simon Parten Date: Mon, 6 Nov 2023 15:15:22 +0100 Subject: [PATCH] . --- .../src/main/scala/vecxt/dim.check.scala | 24 ------------------- 1 file changed, 24 deletions(-) delete mode 100644 core/shared/src/main/scala/vecxt/dim.check.scala diff --git a/core/shared/src/main/scala/vecxt/dim.check.scala b/core/shared/src/main/scala/vecxt/dim.check.scala deleted file mode 100644 index 5d433fb..0000000 --- a/core/shared/src/main/scala/vecxt/dim.check.scala +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2023 quafadas - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package vecxt - -import ai.dragonfly.math.UnsupportedVectorDimension - -object dimCheck: - inline def dimensionCheck(supplied: Int, required: Int): Unit = - if supplied != required then throw UnsupportedVectorDimension(supplied, required) -end dimCheck