From 866ac485393535e8e3c14c3402b3f1c897fa485d Mon Sep 17 00:00:00 2001 From: Gonzalo <456459+grzuy@users.noreply.github.com> Date: Mon, 2 Oct 2023 22:16:57 -0300 Subject: [PATCH] mix format --- lib/axon/layers.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/axon/layers.ex b/lib/axon/layers.ex index 4ab64a51..4b64776d 100644 --- a/lib/axon/layers.ex +++ b/lib/axon/layers.ex @@ -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()