Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/setup_generic.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016, Matthias Rottmann, Artur Strebel, Simon Heybrock, Simone Bacchio, Bjoern Leder, Issaku Kanamori.
* Copyright (C) 2017, Matthias Rottmann, Artur Strebel, Simon Heybrock, Simone Bacchio, Bjoern Leder, Issaku Kanamori.
*
* This file is part of the DDalphaAMG solver library.
*
Expand Down Expand Up @@ -198,7 +198,7 @@ void interpolation_PRECISION_define( vector_double *V, level_struct *l, struct T

if ( V == NULL ) {

PUBLIC_MALLOC( buffer, complex_PRECISION*, 3 );
MALLOC( buffer, complex_PRECISION*, 3 );
buffer[0] = NULL;
PUBLIC_MALLOC( buffer[0], complex_PRECISION, l->vector_size*3 );

Expand Down Expand Up @@ -234,7 +234,7 @@ void interpolation_PRECISION_define( vector_double *V, level_struct *l, struct T
}

PUBLIC_FREE( buffer[0], complex_PRECISION, l->vector_size*3 );
PUBLIC_FREE( buffer, complex_PRECISION*, 3 );
FREE( buffer, complex_PRECISION*, 3 );

for ( k=0; k<n; k++ ) {
vector_PRECISION_real_scale( l->is_PRECISION.test_vector[k], l->is_PRECISION.test_vector[k],
Expand Down