diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-10-25 19:56:42 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-10-25 19:56:42 +0200 |
commit | 729862e87338dbd275f90d61d52803892fe3648e (patch) | |
tree | 3450e8964410baaec08909a939c62898a4f8bb52 /scripts | |
parent | 926aca53a0de9250a9f7d42026fb54995668dc5b (diff) |
Fixed some issues preventing the Netlib CBLAS API from linking correctly
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/generator/generator/routine.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 [] |