From 729862e87338dbd275f90d61d52803892fe3648e Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Tue, 25 Oct 2016 19:56:42 +0200 Subject: Fixed some issues preventing the Netlib CBLAS API from linking correctly --- scripts/generator/generator/routine.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/generator') diff --git a/scripts/generator/generator/routine.py b/scripts/generator/generator/routine.py index c35f5b4c..085845a8 100644 --- a/scripts/generator/generator/routine.py +++ b/scripts/generator/generator/routine.py @@ -341,9 +341,9 @@ class Routine: """Retrieves the definition of a scalar (alpha/beta) but make it a void pointer in case of non-standard types""" if name in self.scalars: if name == "alpha": - data_type = "void*" if flavour.is_non_standard() else flavour.alpha_cpp + data_type = "void*" if flavour.is_complex("alpha") else flavour.alpha_cpp return ["const " + data_type + " " + name] - data_type = "void*" if flavour.is_non_standard() else flavour.beta_cpp + data_type = "void*" if flavour.is_complex("beta") else flavour.beta_cpp return ["const " + data_type + " " + name] return [] -- cgit v1.2.3