Skip to content

Commit

Permalink
Use new canonicalization algorithm name
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelotto committed Feb 29, 2024
1 parent 1d91c51 commit cb39322
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rdf/canonicalization/canonicalization.ex
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ defmodule RDF.Canonicalization do
"""
@spec canonicalize(RDF.Graph.t() | RDF.Dataset.t(), keyword) :: RDF.Dataset.t()
def canonicalize(input, opts \\ []) do
urdna2015(input, opts)
rdfc10(input, opts)
end

@doc """
Expand Down Expand Up @@ -67,7 +67,7 @@ defmodule RDF.Canonicalization do
a |> canonicalize(opts) |> Dataset.equal?(canonicalize(b, opts))
end

defp urdna2015(input, opts) do
defp rdfc10(input, opts) do
input
|> State.new(opts)
|> create_canonical_identifiers_for_single_node_hashes()
Expand Down

0 comments on commit cb39322

Please sign in to comment.