Skip to content

Commit

Permalink
Added overloaded methods for setLowerBoud and setUpperBound.
Browse files Browse the repository at this point in the history
  • Loading branch information
shoops committed Apr 8, 2024
1 parent 62872bb commit 1647e3d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion copasi/bindings/swig/COptItem.i
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019 - 2023 by Pedro Mendes, Rector and Visitors of the
// Copyright (C) 2019 - 2024 by Pedro Mendes, Rector and Visitors of the
// University of Virginia, University of Heidelberg, and University
// of Connecticut School of Medicine.
// All rights reserved.
Expand Down Expand Up @@ -71,6 +71,16 @@
return v;
}

bool setLowerBound(const std::string & v)
{
return self->setLowerBound(CRegisteredCommonName(v));
}

bool setUpperBound(const std::string & v)
{
return self->setUpperBound(CRegisteredCommonName(v));
}

CFitItem* asFitItem()
{
return dynamic_cast<CFitItem*>($self);
Expand Down

0 comments on commit 1647e3d

Please sign in to comment.