gnucap-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scope and CARD_LIST:_card_list


From: al davis
Subject: Re: scope and CARD_LIST:_card_list
Date: Mon, 25 Jan 2021 15:08:15 -0500

On Sun, 24 Jan 2021 10:02:02 +0100
Felix Salfelder <felix@salfelder.org> wrote:
> I have pushed a patch to s__solve.cc. It replaces the hardwired
> CARD_LIST::_card_list by SIM::_scope. Reading the simulation commands,
> this looks like a leftover to me: SIM::_scope is initialised
> accordingly in the respective do_it functions. Now simulations work
> outside the root circuit. Can you confirm that this is correct and
> intended?

Correct .. I think.

All uses of CARD_LIST::card_list are suspect.  For example, a similar
situation exists in s_ac.cc, and probably other commands too.

> I also have issues with DEV_DOT. Symptoms are that commands like "get"
> wont work properly if scope != CARD_LIST::_card_list. This is because
> the owner is lost in command elaboration. Not sure what a good solution
> is, maybe a d_dot plugin? There are a couple of bugs annotated in that
> code, and I can't see what the plan is...

use scope?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]