Skip to content

Conversation

shleym2000
Copy link
Contributor

Fixes compiling problem

@shleym2000
Copy link
Contributor Author

Without this change, there are multiple warnings like the following

1>C:\OpenNN\eigen\unsupported\Eigen\CXX11\src\Tensor\Tensor.h(76,49): warning C4554: '&': check operator precedence for possible error; use parentheses to clarify precedence
1>(compiling source file '../SandBox/OpenNN/opennn/adaptive_moment_estimation.cpp')
1>    C:\OpenNN\eigen\unsupported\Eigen\CXX11\src\Tensor\Tensor.h(76,49):
1>    the template instantiation context (the oldest one first) is
1>        C:\OpenNN\opennn\histogram.h(74,19):
1>        see reference to class template instantiation 'Eigen::Tensor<opennn::type,1,0,Eigen::DenseIndex>' being compiled

@shleym2000 shleym2000 changed the title Update main.cpp Update blank/main.cpp Apr 10, 2024
@shleym2000 shleym2000 changed the title Update blank/main.cpp Eliminating few compile time warnings May 17, 2024
Lenny Shleymovich and others added 27 commits September 18, 2024 15:35
# Conflicts:
#	opennn/embedding_layer.cpp
#	opennn/loss_index.cpp
#	opennn/perceptron_layer_3d.cpp
# Conflicts:
#	tests/minkowski_error_test.cpp
# Conflicts:
#	opennn/embedding_layer.cpp
#	opennn/perceptron_layer_3d.cpp
# Conflicts:
#	opennn/auto_associative_neural_network.cpp
#	opennn/embedding_layer.cpp
#	opennn/loss_index.cpp
#	opennn/normalization_layer_3d.cpp
#	opennn/perceptron_layer_3d.cpp
#	tests/genetic_algorithm_test.cpp
# Conflicts:
#	opennn/loss_index.cpp
Lenny Shleymovich and others added 30 commits August 14, 2025 09:05
…atures had been changed without matching cnages to derived layer classes

Merge branch 'dev' into patch-5

# Conflicts:
#	opennn/addition_layer_3d.h
#	opennn/quasi_newton_method.cpp
#	opennn/scaling.cpp
#	opennn/tensors.h
# Conflicts:
#	opennn/pch.h
# Conflicts:
#	opennn/pch.h
# Conflicts:
#	opennn/statistics.cpp
#	opennn/stochastic_gradient_descent.cpp
#	opennn/time_series_dataset.cpp
# Conflicts:
#	opennn/time_series_dataset.cpp
# Conflicts:
#	blank/main.cpp
#	examples/translation/main.cpp
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.

3 participants