Ignore:
Timestamp:
Apr 2, 2009, 11:43:42 PM (12 years ago)
Author:
Peter
Message:

fixes #454 - throw exception when detecting funky dimensions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/Matrix.h

    r1887 r1890  
    126126       elements, and sets all elements to \a init_value.
    127127
     128       If \a r is zero \a c must be zero and vice versa.
     129
    128130       \throw GSL_error if memory allocation fails.
    129131    */
     
    314316       All elements are set to @a init_value.
    315317
     318       If \a r is zero \a c must be zero and vice versa.
     319
    316320       \note underlying GSL matrix is destroyed and views into this
    317321       Matrix becomes invalid.
    318322    */
    319     void resize(size_t, size_t, double init_value=0);
     323    void resize(size_t r, size_t c, double init_value=0);
    320324
    321325    ///
Note: See TracChangeset for help on using the changeset viewer.