Skip to content
Snippets Groups Projects
Commit ef12c745 authored by Martin Bauer's avatar Martin Bauer
Browse files

Merge branch 'philox' into 'master'

correctly print RNG nodes

See merge request !78
parents 86f08297 ae54e48c
1 merge request!78correctly print RNG nodes
Pipeline #19039 canceled with stages
......@@ -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):
......
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