aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-08-16 11:37:30 +0200
committerMattias Andrée <maandree@kth.se>2016-08-16 11:37:30 +0200
commitedd4ef94e586846978bf2390e1da46d8e2420ca7 (patch)
treeefc47d8bd18b81144f962e2ee8c214d96a38121e
parentCorrections to libcoopgamma_native.pyx.gpp (diff)
downloadpylibcoopgamma-edd4ef94e586846978bf2390e1da46d8e2420ca7.tar.gz
pylibcoopgamma-edd4ef94e586846978bf2390e1da46d8e2420ca7.tar.bz2
pylibcoopgamma-edd4ef94e586846978bf2390e1da46d8e2420ca7.tar.xz
Corrections to libcoopgamma_native.pyx.gpp
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/libcoopgamma_native.pyx.gpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcoopgamma_native.pyx.gpp b/src/libcoopgamma_native.pyx.gpp
index 89509af..f5a4925 100644
--- a/src/libcoopgamma_native.pyx.gpp
+++ b/src/libcoopgamma_native.pyx.gpp
@@ -1444,7 +1444,7 @@ def libcoopgamma_native_get_gamma_recv(address : int, async : int):
else:
filters = [None] * int(table.filter_count)
for i in range(int(table.filter_count)):
- rampsp = &(table.filters[i].fclass.ramps)
+ rampsp = &(table.filters[i].ramps)
fclass = table.filters[i].fclass
red = [None] * rampsp.red_size
green = [None] * rampsp.green_size
@@ -1545,7 +1545,7 @@ def libcoopgamma_native_get_gamma_sync(query, address : int):
else:
filters = [None] * int(table.filter_count)
for i in range(int(table.filter_count)):
- rampsp = &(table.filters[i].fclass.ramps)
+ rampsp = &(table.filters[i].ramps)
fclass = table.filters[i].fclass
red = [None] * rampsp.red_size
green = [None] * rampsp.green_size