From 1785efb5420bc7b9c850a068cb5d99837071e877 Mon Sep 17 00:00:00 2001 From: "Field G. Van Zee" Date: Tue, 22 Jul 2014 14:33:01 -0500 Subject: [PATCH] Minor improvements to invertd and setd. Details: - Added missing call to invertd_check() from front-end. - Changed setd front-end call of scald_check() to setd_check(). --- frame/1d/invertd/bli_invertd.c | 3 +++ frame/1d/setd/bli_setd.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/frame/1d/invertd/bli_invertd.c b/frame/1d/invertd/bli_invertd.c index 502deb93d..2ccfd0022 100644 --- a/frame/1d/invertd/bli_invertd.c +++ b/frame/1d/invertd/bli_invertd.c @@ -40,6 +40,9 @@ // void bli_invertd( obj_t* x ) { + if ( bli_error_checking_is_enabled() ) + bli_invertd_check( x ); + bli_invertd_unb_var1( x ); } diff --git a/frame/1d/setd/bli_setd.c b/frame/1d/setd/bli_setd.c index 9f359e325..6414636c1 100644 --- a/frame/1d/setd/bli_setd.c +++ b/frame/1d/setd/bli_setd.c @@ -45,7 +45,7 @@ void bli_setd( obj_t* beta, obj_t beta_local; if ( bli_error_checking_is_enabled() ) - bli_scald_check( beta, x ); + bli_setd_check( beta, x ); // Use the datatype of x as the target type for beta (since we do // not assume mixed domain/type support is enabled).