Skip to content

Commit

Permalink
remove space at the end of lines
Browse files Browse the repository at this point in the history
  • Loading branch information
shajoezhu committed Jul 2, 2015
1 parent 5438e84 commit cbb81ea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions all_gene_topo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
Expand Down Expand Up @@ -44,7 +44,7 @@ void GeneTopoList::run(){
void GeneTopoList::core(){
if ( this->TipLabels.size() == 2 ) return;
for ( size_t tip_i = 2; tip_i < this->TipLabels.size() ; tip_i++ ){

this->TreeList_tmp.clear();
for ( size_t i = 0 ; i < this->TreeList.size(); i++ ){
this->str_tmp = this->TreeList[i];
Expand All @@ -64,7 +64,7 @@ void GeneTopoList::core(){
}
}
}

this->TreeList.clear();
this->TreeList = this->TreeList_tmp;
}
Expand Down
4 changes: 2 additions & 2 deletions all_gene_topo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
Expand Down Expand Up @@ -60,7 +60,7 @@ class GeneTopoList {
string add_new_taxa_at_int(string &in_str, size_t i, string &newly_added );
string add_new_taxa_at_tip(string &in_str, size_t i, string &newly_added, string added_to );
string extract_label( string &in_str, size_t i);

void run();
void init();
void core();
Expand Down
4 changes: 2 additions & 2 deletions test_topo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ class TestGeneTopoList : public CppUnit::TestCase {
GeneTopoList testList6(v6);
CPPUNIT_ASSERT ( testList6.TipLabels.size() == (unsigned)6 );
CPPUNIT_ASSERT ( testList6.TreeList.size() == (unsigned)945 );

}

void testExtract(){
GeneTopoList testList;
string tree = "(((A,B),C),D);";
Expand Down

0 comments on commit cbb81ea

Please sign in to comment.