Gy-80 Barometer Reading

We have a problem with our code… while running it shows

‘‘expression cannot be used as a function’’ in 2nd instance of using :
altitude = baro.getAltitude(pressure)();

Can someone please help out

#include “Wire.h”
#include “I2Cdev.h” //
#include “BMP085.h”

BMP085 baro;

int32_t lastMicros;

void setup_gy801(){

baro.initialize();
}

void get_wave_stats(){

float temperature;
long pressure;
float altitude, min_height, max_height, wave_height, mid_point, smudge_factor, wave_power;
byte escaped, started;
unsigned long period_start, period_end;
float avg_period = -1;
unsigned long start_time = millis();

max_height = altitude;
min_height = altitude;

// for 15 seconds try and get wave height
while(millis() - start_time < 15000){
altitude = baro.getAltitude(pressure)();
if (altitude < min_height) min_height = altitude;
if (altitude > max_height) max_height = altitude;
}
mid_point = (max_height + min_height)/2.0;
wave_height = (max_height - mid_point) / 2.0;
measurement_2.val_1 = wave_height;
smudge_factor = wave_height * 0.15;

start_time = millis();
// for 15 seconds try and get wave period
while(millis() - start_time < 15000){

// if within a range of 30% of wave height from the mid point
// start the timer else stop it
if (altitude < mid_point + smudge_factor && altitude > mid_point - smudge_factor){
if ( !started){
period_start = millis();
started = true;
}
else{
if ( escaped ){
// if it has started and escaped and is now returning
period_end = millis();
started = false;
escaped = false;
// if the variable has already been assigned
// use its previous value and new value to work out avg
if(avg_period != -1){
avg_period = (avg_period + (period_end-period_start)*2) / 2.0;
}
// assign it
else{
avg_period = (period_end-period_start)*2;
}

}
}
}
else{
escaped = true;
}
}
measurement_2.val_2 = avg_period/1000;
// work out wave power according to Wave power - Wikipedia wave power formula
measurement_2.val_5 = int(0.5 * wave_height * wave_height * avg_period / 1000);
}

altitude = baro.getAltitude(pressure)();

Get rid of the ().