| author | Felix Salfelder <felix@salfelder.org> | 2025年10月30日 00:00:00 +0000 |
|---|---|---|
| committer | Felix Salfelder <felix@salfelder.org> | 2025年10月30日 00:00:00 +0000 |
| commit | 1ffcbaee92e4ab3e032e63480feada0ad2a7c3f3 (patch) | |
| tree | c58387fd0740f1e4a51a4469bc49152d76b73c40 | |
| parent | 177398cd4ecc88db2ad215176c6dc033e3fe6648 (diff) | |
| download | gnucap-1ffcbaee92e4ab3e032e63480feada0ad2a7c3f3.tar.gz | |
| -rw-r--r-- | include/patchlev.h | 2 | ||||
| -rw-r--r-- | lib/e_compon.cc | 5 |
diff --git a/include/patchlev.h b/include/patchlev.h index 78ee988a..f1a2e005 100644 --- a/include/patchlev.h +++ b/include/patchlev.h @@ -1 +1 @@ -#define PATCHLEVEL "noinsensitive 2025年10月15日" +#define PATCHLEVEL "spfix 2025年10月28日" diff --git a/lib/e_compon.cc b/lib/e_compon.cc index d3ad32aa..4c374d1a 100644 --- a/lib/e_compon.cc +++ b/lib/e_compon.cc @@ -756,7 +756,10 @@ void COMPONENT::set_parameters(const std::string& Label, CARD *Owner, obsolete_set_value(Value); assert(node_count <= net_nodes()); - std::copy_n(Nodes, node_count, &n_(0)); + if(node_count){ + std::copy_n(Nodes, node_count, &n_(0)); + }else{itested(); + } } /*--------------------------------------------------------------------------*/ /* set_slave: force evaluation whenever the owner is evaluated. |