Changeset 261


Ignore:
Timestamp:
Mar 9, 2005, 6:06:19 PM (17 years ago)
Author:
Peter
Message:

fixed bug and added test for alignment

Location:
trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Alignment.cc

    r256 r261  
    2323    // choice(i,j) tells us how we came to s(i,j). 1 is diagonal, 2
    2424    // vertical, and 3 horizontal,
    25     gslapi::matrix choice(s.rows()-1,s.columns()-1);
     25    gslapi::matrix choice(s.rows(),s.columns());
    2626
    2727    // Calculating NeedlemanWunsch matrix
  • trunk/test/Makefile.am

    r225 r261  
    44
    55check_PROGRAMS =                                                    \
    6   test_averagerpair test_consensus_inputranker test_crossvalidation \
     6  test_alignment test_averagerpair test_consensus_inputranker \
     7  test_crossvalidation  \
    78  test_inputranker test_kernel test_merge test_nni test_pca         \
    89  test_regression_linear test_regression_local test_rnd test_roc    \
     
    1617AM_LDFLAGS = -g
    1718
     19test_alignment_SOURCES = test_alignment.cc
    1820test_averagerpair_SOURCES = test_averagerpair.cc
    1921test_consensus_inputranker_SOURCES = test_consensus_inputranker.cc
Note: See TracChangeset for help on using the changeset viewer.