I have a simple code to find maximum as follows.

`myfunc = {-1 + 2/(1 + d), 1/2 (-1 + 1/d), 1 - d, 1 + 1/(-2 + d), 1 - d, 1 - d, -1 + 1/d, -1 + 1/d, 1/(1 + d), 1/(2 d), 1/d, 1/d, d/( 1 - d)}; FindMaximum[{##, 0 <= d <= 1}, d] & /@ myfunc `

It works well on my desktop and the result is:

`{{1., {d -> 0.}}, {\[Infinity], {d -> 0.}}, {1., {d -> 0.}}, {0.5, {d -> 0.}}, {1., {d -> 0.}}, {1., {d -> 0.}}, {\[Infinity], {d -> 0.}}, {\[Infinity], {d -> 0.}}, {1., {d -> 0.}}, {\[Infinity], {d -> 0.}}, {\[Infinity], {d -> 0.}}, {\[Infinity], {d -> 0.}}, {\[Infinity], {d -> 1.}}} `

However, I got error with `$ Failed`

when I ran it on my laptop.

`{{1., {d -> 3.54538*10^-8}}, {-$ Failed, {d -> 0.}}, {1., {d -> 0.}}, {0.5, {d -> 0.}}, {1., {d -> 0.}}, {1., {d -> 0.}}, {-$ Failed, {d -> 0.}}, {-$ Failed, {d -> 0.}}, {1., {d -> 0.}}, {\[Infinity], {d -> Indeterminate}}, {\[Infinity], {d -> 0.}}, {\[Infinity], {d -> 0.}}, {\[Infinity], {d -> Indeterminate}}} `

Why does this happen? How can I solve this?