Skip to content

Commit

Permalink
mix format
Browse files Browse the repository at this point in the history
  • Loading branch information
grzuy committed Oct 3, 2023
1 parent 2cbc6e2 commit 866ac48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/axon/layers.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2525,11 +2525,11 @@ defmodule Axon.Layers do

deftransformp stack_columns_transform(container, ignore) do
container.__struct__().__info__(:struct)
|> Enum.reduce([], fn %{field: k}, acc ->
|> Enum.reduce([], fn %{field: k}, acc ->
if k in ignore do
acc
else
[Map.fetch!(container, k) | acc]
[Map.fetch!(container, k) | acc]
end
end)
|> Enum.reverse()
Expand Down

0 comments on commit 866ac48

Please sign in to comment.