Skip to content
Snippets Groups Projects
Commit b2c9c313 authored by ln908953's avatar ln908953 Committed by Artur Maria Schweidtmann
Browse files

Release version 0.0.4

Hotfix: Fixed Intel and gcc compability
parent 0c7085cb
No related branches found
No related tags found
No related merge requests found
......@@ -283,7 +283,7 @@ namespace melon {
// Get the number of internal network variables
template <typename T>
unsigned int FeedForwardNet<T>::get_number_of_full_space_variables() {
if (!_modelLoaded) {
if (!MelonModel<T>::_modelLoaded) {
throw MelonException(" Error: No network loaded.");
}
......@@ -301,7 +301,7 @@ namespace melon {
// Returns the number and the names of the internal variables of the network
template <typename T>
void FeedForwardNet<T>::get_full_space_variables(unsigned int& variableNumber, std::vector<std::string>& variableNames, std::vector<std::pair<double, double>>& variableBounds) {
if (!_modelLoaded) {
if (!MelonModel<T>::_modelLoaded) {
throw MelonException(" Error: No network loaded.");
}
......@@ -355,7 +355,7 @@ namespace melon {
// Calculates the prediction of the feed forward net for a given point
template <typename T>
std::vector<T> FeedForwardNet<T>::_calculate_prediction(const std::vector<T> input, const std::vector<T> internalVariables, const bool fullSpace, std::vector<T>& constraints) {
if (_modelLoaded) {
if (MelonModel<T>::_modelLoaded) {
// ---------------------------------------------------------------------------------
// 0: Initialization
// ---------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment