Skip to content

Commit 1647e3d

Browse files
committed
Added overloaded methods for setLowerBoud and setUpperBound.
1 parent 62872bb commit 1647e3d

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

copasi/bindings/swig/COptItem.i

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2019 - 2023 by Pedro Mendes, Rector and Visitors of the
1+
// Copyright (C) 2019 - 2024 by Pedro Mendes, Rector and Visitors of the
22
// University of Virginia, University of Heidelberg, and University
33
// of Connecticut School of Medicine.
44
// All rights reserved.
@@ -71,6 +71,16 @@
7171
return v;
7272
}
7373

74+
bool setLowerBound(const std::string & v)
75+
{
76+
return self->setLowerBound(CRegisteredCommonName(v));
77+
}
78+
79+
bool setUpperBound(const std::string & v)
80+
{
81+
return self->setUpperBound(CRegisteredCommonName(v));
82+
}
83+
7484
CFitItem* asFitItem()
7585
{
7686
return dynamic_cast<CFitItem*>($self);

0 commit comments

Comments
 (0)