Changeset 798 for library

Show
Ignore:
Timestamp:
01/29/10 22:18:52 (14 years ago)
Author:
smidl
Message:

mmix is special -- almost a hack but acceptable.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/stat/emix.cpp

    r789 r798  
    340340        for ( int i = 1; i < Coms.length(); i++ ) { 
    341341                bdm_assert ( dim == ( Coms ( i )->dimension() ), "Component sizes do not match!" ); 
    342                 bdm_assert ( dimc == ( Coms ( i )->dimensionc() ), "Component sizes do not match!" ); 
     342                bdm_assert ( dimc >= ( Coms ( i )->dimensionc() ), "Component sizes do not match!" ); 
    343343                isnamed &= Coms(i)->isnamed() & Coms(i)->_rv().equal(rv_tmp) & Coms(i)->_rvc().equal(rvc_tmp); 
    344344        }