Commit ef12c745 authored by Martin Bauer's avatar Martin Bauer
Browse files

Merge branch 'philox' into 'master'

correctly print RNG nodes

See merge request pycodegen/pystencils!78
parents 86f08297 ae54e48c
......@@ -70,7 +70,8 @@ class RNGBase(CustomCodeNode):
self._time_step, self._offsets, self.keys, self._dim, self.result_symbols)
def __repr__(self):
return (", ".join(['{}'] * self._num_vars) + " <- {}RNG").format(*self.result_symbols, self._name.capitalize())
return (", ".join(['{}'] * self._num_vars) + " \\leftarrow {}RNG").format(*self.result_symbols,
self._name.capitalize())
class PhiloxTwoDoubles(RNGBase):
......
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