Skip to content

Conversation

jramosf
Copy link
Contributor

@jramosf jramosf commented Apr 5, 2023

The only two usages of the trial function come from range loop (starting at 0 on the waitTimes slice). Since we have (i+1) in the the Sprintf args, there is now no possibility to get into the i == 0 if branch.

This also leaves both usages with trial(i).

@jramosf jramosf changed the title Remove non-zero case for trial function Remove zero case for trial function Apr 5, 2023
@jramosf jramosf force-pushed the jramosf/trial-fix branch from a68c47f to 35281a1 Compare April 5, 2023 11:01
@jramosf
Copy link
Contributor Author

jramosf commented May 26, 2023

@mame any chance this can get merged? Thanks!

@mame
Copy link
Owner

mame commented Jun 2, 2023

My intention was to not show (trial 1/3), and to show (trial 2/3) and (trial 3/3).Can you just change trial(i+1) to trial(i) and keep the definition of trial as is?

@jramosf jramosf force-pushed the jramosf/trial-fix branch from 35281a1 to cad6f40 Compare June 5, 2023 07:26
@jramosf
Copy link
Contributor Author

jramosf commented Jun 5, 2023

Owner

Done, ready-to-review

@mame mame merged commit 41446e7 into mame:main Jun 5, 2023
@mame
Copy link
Owner

mame commented Jun 5, 2023

Thanks!

@jramosf jramosf deleted the jramosf/trial-fix branch July 1, 2023 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants