summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-10-25 19:56:42 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-10-25 19:56:42 +0200
commit729862e87338dbd275f90d61d52803892fe3648e (patch)
tree3450e8964410baaec08909a939c62898a4f8bb52 /scripts
parent926aca53a0de9250a9f7d42026fb54995668dc5b (diff)
Fixed some issues preventing the Netlib CBLAS API from linking correctly
Diffstat (limited to 'scripts')
-rw-r--r--scripts/generator/generator/routine.py4
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 []