/usr/share/doc/freefem++/examples/examples++-bug/bugf.edp is in freefem++-doc 3.19.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | // routine
// bug before version 1.27 pb passage d'argument
func int myfunction(real a1)
{
int i=a1*a1/1;
return i;
};
func real myfunction(real a,real b)
{
real z =myfunction(a)+b;
return z;
};
// appele
cout << myfunction(1.0,3.) << " " << myfunction(1,3) << endl;
|