Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Why does my get_max_index function return zero? (High Water Mark Algorithm)

by haukex (Archbishop)
on Jun 03, 2019 at 17:11 UTC ( [id://11100894]=note: print w/replies, xml ) Need Help??


in reply to Re: Why does my get_max_index function return zero? (High Water Mark Algorithm)
in thread Why does my get_max_index function return zero? (High Water Mark Algorithm)

$imax=$i if ($_[$i] > $imax);

No, sorry, that doesn't make sense.

Update: Oh, I see you noticed it too, sorry :-)

Replies are listed 'Best First'.
Re^3: Why does my get_max_index function return zero? (High Water Mark Algorithm)
by holli (Abbot) on Jun 03, 2019 at 17:13 UTC
    Indeed it doesn't. But taking breaks and having beers is still a good advice =)


    holli

    You can lead your users to water, but alas, you cannot drown them.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11100894]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-19 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found