gnucap.git - Gnu Circuit Analysis Package

index : gnucap.git
Gnu Circuit Analysis Package
summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat
-rw-r--r--include/patchlev.h 2
-rw-r--r--lib/e_compon.cc 5
2 files changed, 5 insertions, 2 deletions
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.
generated by cgit v1.2.3 (git 2.25.1) at 2025年11月24日 17:44:56 +0000

AltStyle によって変換されたページ (->オリジナル) /