Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unary function change #27

Merged
merged 44 commits into from
Oct 1, 2024
Merged

Unary function change #27

merged 44 commits into from
Oct 1, 2024

Conversation

cebarboza
Copy link
Collaborator

Im also merging the changes in tests_latestcode into my branch. I made some changes in unary_function as you mentioned before, but I don´t know if that affects your config.

struct AndJibu : public std ::unary_function<int, void>
struct AndJibu : public std ::__unary_function<int, void>

Merge remote-tracking branch 'origin/tests' into tests_latestcode

# Conflicts:
#	R/MainFunctions.R
#	inst/examples/tests/iris.project
Merge branch 'tests' into unary_function_change

# Conflicts:
#	R/MainFunctions.R
#	R/testExplore.R
#	man/settingsExplore.Rd
#	man/trainExplore.Rd
@cebarboza cebarboza linked an issue Sep 30, 2024 that may be closed by this pull request
@cebarboza
Copy link
Collaborator Author

Added a convert_logical and a test to fix issue #28

@AniekMarkus
Copy link
Contributor

  • saveData fix is great, thanks
  • unaryFuncition change: std::__unary_function works for me on my laptop=Mac, but not on the server=Linux as I need to use std::unary_function there in order to build the package

@cebarboza
Copy link
Collaborator Author

  • unaryFuncition change: std::__unary_function works for me on my laptop=Mac, but not on the server=Linux as I need to use std::unary_function there in order to build the package

Is there any way to define that function accordingly or you don't need it to work on Win?

Also when I integrated your latest changes, the results are different, is that expected?

@AniekMarkus
Copy link
Contributor

AniekMarkus commented Oct 1, 2024

Is there any way to define that function accordingly or you don't need it to work on Win?
For you on Windows std::__unary_function worked as well right?

It needs to work on all 3 operating systems, but the difference is probably due to different (versions of) C++ compilers that are used as the function std::unary_function seems to be deprecated at some point: https://en.cppreference.com/w/cpp/utility/functional/unary_function

@AniekMarkus
Copy link
Contributor

Also when I integrated your latest changes, the results are different, is that expected?
If you mean the changes in the branch changes_c then it is correct that the results might have changed as some corrections were made in the generation of rules!

@cebarboza cebarboza merged commit a3a1e0b into tests Oct 1, 2024
@cebarboza cebarboza deleted the unary_function_change branch October 1, 2024 14:17
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.

saveData throws NAs in train_data
2 participants