Skip to content

Commit

Permalink
Fix bug where getX was called in a getY function.
Browse files Browse the repository at this point in the history
  • Loading branch information
luciansmith committed Nov 12, 2024
1 parent ee343a8 commit ce483eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsbmlnetwork_sbmldocument_layout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ int setSpeciesReferenceCurveSegmentBasePoint1X(SBMLDocument* document, unsigned
}

double getSpeciesReferenceCurveSegmentBasePoint1Y(SBMLDocument* document, const std::string& reactionId, unsigned int reactionGlyphIndex, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex) {
return getCurveSegmentBasePoint1X(getSpeciesReference(getLayout(document), reactionId, reactionGlyphIndex, speciesReferenceIndex), curveSegmentIndex);
return getCurveSegmentBasePoint1Y(getSpeciesReference(getLayout(document), reactionId, reactionGlyphIndex, speciesReferenceIndex), curveSegmentIndex);
}

double getSpeciesReferenceCurveSegmentBasePoint1Y(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int reactionGlyphIndex, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex) {
Expand Down

0 comments on commit ce483eb

Please sign in to comment.