Issue with boundary values

Hi all,

I don’t understand the error with this code:

func real z1(){
return 10.;
}
problem heat(u,v) = int2d(fm)(dx(u)*dx(v) + dy(u)dy(v)) - int2d(fm)(myHeatv)
+ on(0, u=z1);
Error message:
Impossible to cast <11Polymorphic> in . (it concerns the boundary values).

And is it possible to do a function for the boundary values like:
func real z1(){
return tab[x][y];
}

Thanks in advance,

Sylvain

It has been solved

Sylvain