Commit 8b7d6f9af257ec5d48027e7ab2b660d7ae45881f

Authored by David Mayerich
1 parent d5514278

light modifications to network

Showing 2 changed files with 3 additions and 3 deletions   Show diff stats
stim/biomodels/cellset.h
@@ -117,7 +117,7 @@ public: @@ -117,7 +117,7 @@ public:
117 } 117 }
118 118
119 /// Return the maximum value of a field in this cell set 119 /// Return the maximum value of a field in this cell set
120 - double max(std::string field){ 120 + double maximum(std::string field){
121 size_t idx = fields[field]; //get the field index 121 size_t idx = fields[field]; //get the field index
122 size_t ncells = cells.size(); //get the total number of cells 122 size_t ncells = cells.size(); //get the total number of cells
123 double maxval, val; //stores the current and maximum values 123 double maxval, val; //stores the current and maximum values
@@ -130,7 +130,7 @@ public: @@ -130,7 +130,7 @@ public:
130 } 130 }
131 131
132 /// Return the maximum value of a field in this cell set 132 /// Return the maximum value of a field in this cell set
133 - double min(std::string field){ 133 + double minimum(std::string field){
134 size_t idx = fields[field]; //get the field index 134 size_t idx = fields[field]; //get the field index
135 size_t ncells = cells.size(); //get the total number of cells 135 size_t ncells = cells.size(); //get the total number of cells
136 double minval, val; //stores the current and maximum values 136 double minval, val; //stores the current and maximum values
stim/biomodels/network.h
@@ -539,7 +539,7 @@ public: @@ -539,7 +539,7 @@ public:
539 for(unsigned int d = 0; d < 3; d++){ 539 for(unsigned int d = 0; d < 3; d++){
540 ss<<p[i][d]; 540 ss<<p[i][d];
541 } 541 }
542 - ss < "\n"; 542 + ss << "\n";
543 } 543 }
544 return ss.str(); 544 return ss.str();
545 } 545 }