Hi all,
I found an issue when trying to paint onto the flat patch from the grey. Specifically, there is a line that checks that the values are finite. Previously matlab used the function finite, but now it has been updated to the function isfinite. This may be different for different versions of matlab. What I am doing is to use try ... finite, catch me ...isfinite so myGriddata.m will work on all versions. I have confirmed this error and its fix on my setup and it works.
If this sounds like a good option (i.e. if I don't hear any complaints by end of business today) I will try merging this change and practice using the git stream. It seems like a small, simple fix that will not harm anyone and will help some, and will be a good test of using the git setup. My main question would be, where would we want the new version of myGriddata.m to be? I could put it in silverlab_vista_tools if people are putting that folder higher in the path than vistasoft. Alternatively, I could change the original file.
Summer
Hi all,
I found an issue when trying to paint onto the flat patch from the grey. Specifically, there is a line that checks that the values are finite. Previously matlab used the function finite, but now it has been updated to the function isfinite. This may be different for different versions of matlab. What I am doing is to use try ... finite, catch me ...isfinite so myGriddata.m will work on all versions. I have confirmed this error and its fix on my setup and it works.
If this sounds like a good option (i.e. if I don't hear any complaints by end of business today) I will try merging this change and practice using the git stream. It seems like a small, simple fix that will not harm anyone and will help some, and will be a good test of using the git setup. My main question would be, where would we want the new version of myGriddata.m to be? I could put it in silverlab_vista_tools if people are putting that folder higher in the path than vistasoft. Alternatively, I could change the original file.
Summer