Skip to content

Commit

Permalink
rm inner constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Nov 7, 2023
1 parent 0b840a9 commit a80a62f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/orientation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ If `ODESystem` is called on a `RotationMatrix` object `o`, symbolic variables fo
struct RotationMatrix <: Orientation
R::R3
w::Any
function RotationMatrix(R, w)
size(w) == (3,) || error("w must be a 3-vector")
new(R, w)
end
end

RotationMatrix(R::AbstractMatrix, w) = RotationMatrix(R3(R), w)
Expand Down

0 comments on commit a80a62f

Please sign in to comment.