diff --git a/jarvis/analysis/solarefficiency/solar.py b/jarvis/analysis/solarefficiency/solar.py index 2ab64c46..785f7447 100644 --- a/jarvis/analysis/solarefficiency/solar.py +++ b/jarvis/analysis/solarefficiency/solar.py @@ -9,7 +9,11 @@ from scipy.interpolate import interp1d from numpy import interp import scipy.constants as constants -from scipy.integrate import simps +try: + from scipy.integrate import simps +except: + from scipy.integrate import simpson as simps + pass import matplotlib.pyplot as plt