aboutsummaryrefslogtreecommitdiff
path: root/src/mtx_element.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mtx_element.c')
-rw-r--r--src/mtx_element.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mtx_element.c b/src/mtx_element.c
index 43b235d..2c1624e 100644
--- a/src/mtx_element.c
+++ b/src/mtx_element.c
@@ -39,7 +39,7 @@ static void mtx_element_matrix(t_matrix *x, t_symbol *s, int argc, t_atom *argv)
static void mtx_element_float(t_matrix *x, t_floatarg f)
{
if(x->current_col>x->col || x->current_row>x->row){
- error("mtx_element: element position exceeds matrix dimensions");
+ pd_error(x,"mtx_element: element position exceeds matrix dimensions");
return;
}
if(x->current_row == 0 && x->current_col == 0){