Fix comments about version Tcl bug fixed in

This commit is contained in:
Olly Betts 2022-02-08 16:39:42 +13:00
commit 1d088d7124
2 changed files with 2 additions and 2 deletions

View file

@ -141,7 +141,7 @@ std::vector<std::string> RevStringVec (const std::vector<std::string> &In)
}
%}
// regression test for Tcl typecheck bug with empty list fixed in 4.2.0
// regression test for Tcl typecheck bug with empty list fixed in 4.1.0
%inline %{
int sum(const std::vector<int> &v) {
return std::accumulate(v.begin(),v.end(),0);

View file

@ -3,5 +3,5 @@ if [ catch { load ./li_std_vector[info sharedlibextension] li_std_vector} err_ms
puts stderr "Could not load shared object:\n$err_msg"
}
# # Regression test for bug fixed in SWIG 4.2.0.
# Regression test for bug fixed in SWIG 4.1.0.
if {[sum []] != 0} { error "bad vector sum" }