From d61e54ecd79bb891f31ee8ca26bb132485519d3f Mon Sep 17 00:00:00 2001 From: martin-raden Date: Mon, 29 Apr 2024 16:22:11 +0200 Subject: [PATCH] + operator<<(Boundary) --- ChangeLog | 1 + src/IntaRNA/Interaction.cpp | 10 +++++++++- src/IntaRNA/Interaction.h | 10 +++++++++- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3a8fe0be..f2a23187 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20,6 +20,7 @@ * IntaRNA/Interaction * Seed::operator"<" * BUGFIX: less-than check fixed + + operator<<(Boundary) * IntaRNA/PredictorMfe : * updateOptima() : + no interaction update if "n==0" diff --git a/src/IntaRNA/Interaction.cpp b/src/IntaRNA/Interaction.cpp index 6a97b066..07d1dc5b 100644 --- a/src/IntaRNA/Interaction.cpp +++ b/src/IntaRNA/Interaction.cpp @@ -1,7 +1,6 @@ /* * Interaction.cpp * - * Created on: 14.07.2014 * Author: Mmann */ @@ -27,6 +26,15 @@ operator<<(std::ostream& out, const Interaction::BasePair& bp) //////////////////////////////////////////////////////////////////////////// +std::ostream& +operator<<(std::ostream& out, const Interaction::Boundary& b) +{ + out <<"("<