From a263b6d34325ee1ce1dba57411fe67c87f4b5166 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 23 Jan 2024 15:14:09 +0000 Subject: [PATCH] Mutual inductance statements have no model. --- eeschema/sim/sim_model_l_mutual.cpp | 2 +- eeschema/sim/sim_model_l_mutual.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/eeschema/sim/sim_model_l_mutual.cpp b/eeschema/sim/sim_model_l_mutual.cpp index 757582ca97..3b693b1025 100644 --- a/eeschema/sim/sim_model_l_mutual.cpp +++ b/eeschema/sim/sim_model_l_mutual.cpp @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2022 Mikolaj Wielgus - * Copyright (C) 2022 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 2022-2024 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/eeschema/sim/sim_model_l_mutual.h b/eeschema/sim/sim_model_l_mutual.h index bf06e2448e..17c5f5a740 100644 --- a/eeschema/sim/sim_model_l_mutual.h +++ b/eeschema/sim/sim_model_l_mutual.h @@ -34,6 +34,11 @@ class SPICE_GENERATOR_L_MUTUAL : public SPICE_GENERATOR public: using SPICE_GENERATOR::SPICE_GENERATOR; + std::string ItemModelName( const SPICE_ITEM& aItem ) const override + { + return ""; + } + std::string ItemParams() const override; };