Dear all,

I just installed the package hydroPSO and when I try to run the example of
the lhoat() function I got this error:

nparam <- 5

lhoat(

      fn=sphere,

      lower=rep(-100,nparam),

      upper=rep(100,nparam),

      control=list(N=10, f=0.1, write2disk=TRUE)

      )

*Error in fn.name == "hydromod" : *

* comparison (1) is possible only for atomic and list types*

Any idea about what it might be?

Thank you

Rui

	[[alternative HTML version deleted]]

