Commit a6e40d7c authored by René Fritze's avatar René Fritze Committed by probot-auto-merge[bot]

[gui] fix wrong compund dtype introduced in c551f62353e03773cd17522f7afed7d84b71b3e4

parent 3aefb53c
Pipeline #68855 passed with stages
in 35 minutes and 32 seconds
......@@ -129,7 +129,7 @@ if config.HAVE_QT and config.HAVE_QTOPENGL and config.HAVE_GL:
self.shift = - np.array(bb[0]) - self.size / 2
# setup buffers
buffer_dtype = [('position', 'f4', 2), ('color', 'f4', (1,))]
buffer_dtype = [('position', 'f4', 2), ('color', 'f4')]
if self.reference_element == triangle:
if codim == 2:
self.vertex_data = np.empty(len(coordinates), dtype=buffer_dtype)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment