Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/src/test-cvec.c

    r39a7b26 r5d10ac1  
    2020
    2121  // set all vector elements to `0`
    22   cvec_zeros_norm(complex_vector);
     22  cvec_norm_zeros(complex_vector);
    2323  for ( i = 0; i < complex_vector->length; i++ ) {
    2424    assert( complex_vector->norm[i] == 0. );
     
    2828
    2929  // set all vector elements to `1`
    30   cvec_ones_norm(complex_vector);
     30  cvec_norm_ones(complex_vector);
    3131  for ( i = 0; i < complex_vector->length; i++ ) {
    3232    assert( complex_vector->norm[i] == 1. );
     
    3636
    3737  cvec_zeros(complex_vector);
    38   cvec_zeros_phas(complex_vector);
    39   cvec_zeros_norm(complex_vector);
    40   cvec_ones_norm(complex_vector);
    41   cvec_ones_phas(complex_vector);
     38  cvec_phas_zeros(complex_vector);
     39  cvec_norm_zeros(complex_vector);
     40  cvec_norm_ones(complex_vector);
     41  cvec_phas_ones(complex_vector);
    4242  cvec_copy(complex_vector, complex_vector);
    4343
Note: See TracChangeset for help on using the changeset viewer.