Small tweaks.

This commit is contained in:
James Harton 2018-01-26 14:35:05 +13:00
parent 8ac3c369ed
commit 8eff5c9c3d
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ defmodule Kinemat.Joints do
defmacro __using__(_opts) do defmacro __using__(_opts) do
quote do quote do
alias Kinemat.Joints.{Revolute} alias Kinemat.Joints.{Revolute, Prismatic, Cylindrical}
end end
end end
end end

View file

@ -73,5 +73,5 @@ defmodule Kinemat.Joints.Cylindrical do
end end
defimpl Kinemat.Joint, for: Kinemat.Joints.Cylindrical do defimpl Kinemat.Joint, for: Kinemat.Joints.Cylindrical do
def degrees_of_freedom(_join), do: 2 def degrees_of_freedom(_joint), do: 2
end end