[Tex/LaTex] How to fix this amsmath warning about redefining \vec

amsmathincompatibility

I am using the pss(b) template, which starts with,

\documentclass[pss]{wiley2sp} % provides pss two-column style
\usepackage{amsmath}
%\usepackage{bm}              % uncomment these two packages if you
%\usepackage{w-greek}         % need extended greek-letter functionality in math mode

I always got this warning:

Package amsmath Warning: Unable to redefine math accent \vec.

Does anyone know how to fix this problem?

Best Answer

load amsmath first:

\RequirePackage{amsmath}
\documentclass[pss]{wiley2sp} % provides pss two-column style
...

Then amsmath defines the \vec at first and wiley2sp will redefine it.