In [1]: from sympy import *
In [2]: x, y, z, t, cp = symbols("x y z t cp")
In [3]: G = cp*sin(x)
In [4]: from sympy.utilities.codegen import codegen
In [14]: codegen(("G", G), "F95", header=False, argument_sequence=(x, y, z, t))
---------------------------------------------------------------------------CodeGenArgumentListError Traceback (most recent call last)<ipython-input-14-7008c98b03e3> in <module>()----> 1 codegen(("G", G), "F95", header=False, argument_sequence=(x, y, z, t))
/home/ptb/gitrepos/sympy/sympy/utilities/codegen.py in codegen(name_expr, language, prefix, project, to_files, header, empty, argument_sequence) 1436 routines = [] 1437 for name, expr in name_expr:-> 1438 routines.append(code_gen.routine(name, expr, argument_sequence)) 1439 1440 # Write the code.
/home/ptb/gitrepos/sympy/sympy/utilities/codegen.py in routine(self, name, expr, argument_sequence) 569 if missing: 570 raise CodeGenArgumentListError("Argument list didn't specify: "--> 571 ", ".join([str(m.name) for m in missing]), missing) 572 573 # create redundant arguments to produce the requested sequence
CodeGenArgumentListError: ('cp', [<sympy.utilities.codegen.InputArgument object at 0x7faacdd9c278>])
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/ced27f44-7cd5-424c-99cc-d718ff8c4765%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/a6879fef-c9fe-4d37-92a8-51e38b36b107%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "sympy" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sympy/i5C8Vk7RpBI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAP7f1AivTH7Pyu%2Bk7WvyTMdoaJHvDD6%3D4jE%2BPAR2F4P%3DqEbDjw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CALoNiQd5DxfDTOyNf4b8LxKe76aNrki5YbvrskPLgftPk0TQjQ%40mail.gmail.com.