Skip to content

Commit

Permalink
ahhh
Browse files Browse the repository at this point in the history
  • Loading branch information
Quafadas committed Sep 27, 2023
1 parent d22019d commit 68231e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/shared/src/main/scala/vecxt/dim.check.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package vecxt

import ai.dragonfly.math.UnsupportedVectorDimension

object dimCheck :
object dimCheck:
inline def dimensionCheck(supplied: Int, required: Int): Unit =
if supplied != required then throw UnsupportedVectorDimension(supplied, required)
end dimCheck
1 change: 1 addition & 0 deletions core/shared/src/main/scala/vecxt/vector.scala
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ package object vector:
import ai.dragonfly.math.vector.Vec.+
thisVector + thatVector.asInstanceOf[Vec[N]]
end `+!`
end extension
end dynamic

object logical:
Expand Down

0 comments on commit 68231e5

Please sign in to comment.