Skip to content

Silently drop wl where sensdata is 0 if required#203

Open
Bisaloo wants to merge 6 commits intormaia:masterfrom
Bisaloo:vismodel-wl
Open

Silently drop wl where sensdata is 0 if required#203
Bisaloo wants to merge 6 commits intormaia:masterfrom
Bisaloo:vismodel-wl

Conversation

@Bisaloo
Copy link
Collaborator

@Bisaloo Bisaloo commented Jun 11, 2020

fix #74

@thomased
Copy link
Collaborator

Nice one — cheers. Look good to me.

}
if (illum2 == "ideal") {
illum <- rep(1, dim(rspecdata)[1])
illum <- rep_len(1, 401)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hum, now that I think about it, there is an issue with this since the user could provide a user-defined S that has the correct length to match the data but still rely on bundled values for other arguments. In this case, the new if branch would never be explored and we would end up the illum having the wrong length

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.

vismodel 'cie2' and 'cie10' do not accept 390:700 rspecdata

2 participants