Skip to content

Commit

Permalink
Merge pull request #2514 from devitocodes/scipy_import
Browse files Browse the repository at this point in the history
deps: Update scipy ascent import
  • Loading branch information
FabioLuporini authored Jan 8, 2025
2 parents 71e7eda + 3a2eb67 commit d4ae237
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_builtins.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import pytest
import numpy as np
from scipy.ndimage import gaussian_filter
from scipy.misc import ascent
try:
from scipy.datasets import ascent
except ImportError:
from scipy.misc import ascent

from devito import ConditionalDimension, Grid, Function, TimeFunction, switchconfig
from devito.builtins import (assign, norm, gaussian_smooth, initialize_function,
Expand Down

0 comments on commit d4ae237

Please sign in to comment.