X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Ffunction.cppy;h=a7e3649c7c195e93ae5886c66202ad9fdc1bbd6c;hp=7df57168996cd42a6518cde4b0505569cb1c989e;hb=f039398998db24260a3bd2841347ae03422024c7;hpb=bb68d77b93ad9aab1be3705e052d7091cee94d56 diff --git a/ginac/function.cppy b/ginac/function.cppy index 7df57168..a7e3649c 100644 --- a/ginac/function.cppy +++ b/ginac/function.cppy @@ -7,7 +7,7 @@ * Please do not modify it directly, edit function.cppy instead! * function.py options: maxargs=@maxargs@ * - * GiNaC Copyright (C) 1999-2016 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2017 Johannes Gutenberg University Mainz, Germany * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -75,7 +75,7 @@ function_options::~function_options() void function_options::initialize() { - set_name("unnamed_function", "\\\\mbox{unnamed}"); + set_name("unnamed_function", "\\mbox{unnamed}"); nparams = 0; eval_f = evalf_f = real_part_f = imag_part_f = conjugate_f = expand_f = derivative_f = expl_derivative_f = power_f = series_f = nullptr; @@ -104,7 +104,7 @@ function_options & function_options::set_name(std::string const & n, { name = n; if (tn==std::string()) - TeX_name = "\\\\mbox{"+name+"}"; + TeX_name = "\\mbox{"+name+"}"; else TeX_name = tn; return *this; @@ -448,7 +448,7 @@ ex function::evalf() const } /** - * This method is defined to be in line with behaviour of function::return_type() + * This method is defined to be in line with behavior of function::return_type() */ ex function::eval_ncmul(const exvector & v) const { @@ -764,7 +764,7 @@ ex function::expl_derivative(const symbol & s) const // explicit differentiation // end of generated lines } } - // There is no fallback for explicit deriviative. + // There is no fallback for explicit derivative. throw(std::logic_error("function::expl_derivative(): explicit derivation is called, but no such function defined")); }